Skip to content

Commit

Permalink
refactor(skeleton): switch to busybox and simplify build
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Dec 8, 2024
1 parent cc0131b commit 027dffc
Showing 1 changed file with 2 additions and 7 deletions.
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 https://github.com/Automattic/vip-go-skeleton.git /clientcode

0 comments on commit 027dffc

Please sign in to comment.