Commit ec593070 authored by jcorvi's avatar jcorvi
Browse files

Update Dockerfile

parent e6af810f
Pipeline #27075 passed with stage
in 2 minutes and 54 seconds
...@@ -23,7 +23,7 @@ COPY src/manage /usr/share/nginx/html/manage ...@@ -23,7 +23,7 @@ COPY src/manage /usr/share/nginx/html/manage
RUN apk add util-linux RUN apk add util-linux
RUN cp /usr/share/nginx/html/manage/v1/api.template /usr/share/nginx/html/manage/v1/api RUN cp /usr/share/nginx/html/manage/v1/api.template /usr/share/nginx/html/manage/v1/api
RUN sed -i "s/{RELEASE_DATE}/$(date +%F)/g" /usr/share/nginx/html/manage/v1/api RUN sed -i "s/{RELEASE_DATE}/$(date +%F)/g" /usr/share/nginx/html/manage/v1/api
RUN sed -i "s/{API_VERSION}/2.0/g" /usr/share/nginx/html/manage/v1/api RUN sed -i "s/{APP_VERSION}/2.0/g" /usr/share/nginx/html/manage/v1/api
RUN sed -i "s/{UUID}/$(uuidgen)/g" /usr/share/nginx/html/manage/v1/api RUN sed -i "s/{UUID}/$(uuidgen)/g" /usr/share/nginx/html/manage/v1/api
RUN rm /usr/share/nginx/html/manage/v1/api.template RUN rm /usr/share/nginx/html/manage/v1/api.template
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment