Skip to content

Commit

Permalink
Add install dependencies before copy source code step
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Jan 11, 2024
1 parent 19e7825 commit bad04ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ RUN sed -i 's|http://archive.ubuntu.com|http://us.archive.ubuntu.com|g' /etc/apt
RUN apt-get update && apt-get install -y sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN adduser $SUMO_USER sudo --disabled-password
RUN scripts/install_dependencies.sh

COPY --chown=carma:carma . /home/carma/src
USER carma
WORKDIR /home/carma/src
COPY --chown=carma:carma scripts/env.sh /home/carma/.base-image/
RUN scripts/install_dependencies.sh
RUN scripts/build.sh

ENTRYPOINT [ "/home/carma/src/docker/entrypoint.sh" ]
Expand Down

0 comments on commit bad04ab

Please sign in to comment.