Skip to content

Commit

Permalink
Simplify Dockerfile a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello authored Jan 5, 2022
1 parent 84367a4 commit f431159
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ RUN apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(ls
&& terraform -help \
&& rm -rf /var/lib/apt/lists/*


USER root

COPY --chown=dependabot:dependabot LICENSE /home/dependabot
COPY --chown=dependabot:dependabot composer/helpers /opt/composer/helpers
COPY --chown=dependabot:dependabot bundler/helpers /opt/bundler/helpers
Expand All @@ -240,8 +237,7 @@ ENV DEPENDABOT_NATIVE_HELPERS_PATH="/opt" \
MIX_HOME="/opt/hex/mix"

USER dependabot
RUN mkdir -p /opt/bundler/v1 \
&& mkdir -p /opt/bundler/v2
RUN mkdir -p /opt/bundler/v1 /opt/bundler/v2
RUN bash /opt/bundler/helpers/v1/build /opt/bundler/v1
RUN bash /opt/bundler/helpers/v2/build /opt/bundler/v2
RUN bash /opt/go_modules/helpers/build /opt/go_modules
Expand Down

0 comments on commit f431159

Please sign in to comment.