Skip to content

Commit

Permalink
fixup! add in shipyard token building for rust images by passing SHIP…
Browse files Browse the repository at this point in the history
…YARD_TOKEN env var at run time
  • Loading branch information
blockloop committed Apr 16, 2024
1 parent 7b2a00b commit 4ba791b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile.alpine-rust
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ RUN \
COPY ./rust/entrypoint.sh /entrypoint.sh
RUN chmod a+x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash"]
1 change: 1 addition & 0 deletions Dockerfile.debian-rust
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ RUN \
COPY ./rust/entrypoint.sh /entrypoint.sh
RUN chmod a+x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash"]
2 changes: 1 addition & 1 deletion rust/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ else
echo "No SHIPYARD_TOKEN provided, skipping cargo config setup" >> /dev/stderr
fi

exec "/bin/bash"
exec "$@"

0 comments on commit 4ba791b

Please sign in to comment.