Skip to content

Commit

Permalink
Move COPY to a separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico committed Aug 18, 2022
1 parent 10fe9b3 commit c9b2c5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - \
&& rm -rf /var/lib/apt/lists/*

# download and install buck using the java11 pex from Jitpack
RUN curl -L https://jitpack.io/com/github/facebook/buck/v${BUCK_VERSION}/buck-v${BUCK_VERSION}-java11.pex -o /usr/local/bin/buck
RUN curl -L https://jitpack.io/com/github/facebook/buck/v${BUCK_VERSION}/buck-v${BUCK_VERSION}-java11.pex -o /tmp/buck.pex
COPY /tmp/buck.pex /usr/local/bin/buck

# Full reference at https://dl.google.com/android/repository/repository2-1.xml
# download and unpack android
Expand Down

0 comments on commit c9b2c5e

Please sign in to comment.