Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(skeleton): switch to busybox and simplify build #1003

Merged
merged 2 commits into from
Dec 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions skeleton/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
FROM ghcr.io/automattic/vip-container-images/alpine:3.21.0@sha256:32cff7c1b6fe35a9f3d0c829a5a29ca80761a19ae63c15c914bf4c03fbf7df66
FROM busybox:stable-musl@sha256:0fc05e424940109068f4d6562b699da2563cd8521a35d7b216a5b0c51fb29281

RUN apk add --no-cache --virtual build-deps git && \
git clone --depth=1 https://github.com/Automattic/vip-go-skeleton/ /clientcode && \
rm -rf /clientcode/.git && \
apk del --no-cache build-deps

CMD ["sleep", "infinity"]
ADD --link https://github.com/Automattic/vip-go-skeleton.git /clientcode
Loading