-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2700 from vdice/feat/spin-docker-image
feat(docker): add spin cli Dockerfiles; add build/push to release.yml
- Loading branch information
Showing
3 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM debian:bookworm-slim | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
ca-certificates \ | ||
git | ||
|
||
ARG TARGETARCH | ||
ARG TARGETOS | ||
COPY spin-${TARGETOS}-${TARGETARCH} /usr/local/bin/spin | ||
|
||
ENTRYPOINT [ "/usr/local/bin/spin" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM gcr.io/distroless/static-debian12 | ||
|
||
ARG TARGETARCH | ||
ARG TARGETOS | ||
COPY spin-static-${TARGETOS}-${TARGETARCH} /usr/local/bin/spin | ||
|
||
ENTRYPOINT [ "/usr/local/bin/spin" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters