Skip to content

Commit

Permalink
Fix copy from builder
Browse files Browse the repository at this point in the history
  • Loading branch information
gheine committed Nov 29, 2022
1 parent 39c15c9 commit 691667f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions play/Dockerfile.play_builder-13
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ RUN apk add --no-cache docker-cli openssh curl git ruby bash && \
ln -s /usr/local/sbt/bin/sbt /usr/local/bin/sbt && \
chmod 0755 /usr/local/bin/sbt

#RUN for repo in $PROJECTS_TO_BUILD; do \
RUN for repo in experience; do \
RUN for repo in $PROJECTS_TO_BUILD; do \
echo $repo; git clone --depth 1 https://${GIT_USERNAME}:${GIT_PASSWORD}@github.com/flowcommerce/$repo.git; cd $repo; sbt update; cd -; \
done

Expand All @@ -44,5 +43,5 @@ RUN apk update && apk upgrade && \
mkdir -p .sbt/ && \
mkdir -p .ivy2/

COPY --from=builder .sbt/ .sbt/.
COPY --from=builder .cache/ .cache/.
COPY --from=builder /root/.sbt/ .sbt/.
COPY --from=builder /root/.cache/ .cache/.
4 changes: 2 additions & 2 deletions play/Dockerfile.play_builder-17
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ RUN apk update && apk upgrade && \
mkdir -p .sbt/ && \
mkdir -p .ivy2/

COPY --from=builder .sbt/ .sbt/.
COPY --from=builder .cache/ .cache/.
COPY --from=builder /root/.sbt/ .sbt/.
COPY --from=builder /root/.cache/ .cache/.

0 comments on commit 691667f

Please sign in to comment.