ATTENTION: we are currently upgrading gitlabs storage backend for repositories. This may cause unavailability and in unlikely cases also data loss. Therefore, we recommend to keep local copies of all repos. Issues, Milestones, and other features of gitlab are not affected.

Commit f8b65acb authored by Daniel Seybold's avatar Daniel Seybold

moved building the worklaod-api after user change

parent 3137a2d3
Pipeline #65929 passed with stage
in 20 minutes and 24 seconds
......@@ -28,10 +28,6 @@ RUN bpkg install cha87de/bashutil -g
ADD init /opt/docker-init
# sources
RUN mkdir /opt/workload-api
ADD . /opt/workload-api
RUN cd /opt/workload-api ; mvn clean install
# install workloads
......@@ -83,6 +79,12 @@ RUN chown -R mowgli:mowgli /home/mowgli
RUN chown -R mowgli:mowgli /opt
USER mowgli
# sources
RUN mkdir /opt/workload-api
ADD . /opt/workload-api
RUN cd /opt/workload-api ; mvn clean install
# start from init folder
WORKDIR /opt/docker-init
ENTRYPOINT ["./entrypoint"]
\ No newline at end of file
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