Skip to content

Commit

Permalink
refactor: switch to busybox
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Dec 8, 2024
1 parent 2035cc7 commit cf4b86a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions dev-tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM ghcr.io/automattic/vip-container-images/alpine:3.21.0@sha256:32cff7c1b6fe35a9f3d0c829a5a29ca80761a19ae63c15c914bf4c03fbf7df66
FROM ghcr.io/automattic/vip-container-images/helpers:v1@sha256:9f77c3da2ca0394d5846a9fc4195041f59ff5821ea6a7aaa43a08f15d28bf1eb AS helpers
FROM busybox:stable-musl@sha256:0fc05e424940109068f4d6562b699da2563cd8521a35d7b216a5b0c51fb29281

COPY setup.sh add-site.sh dev-env-plugin.php wp-config* /dev-tools-orig/
COPY setup.sh add-site.sh dev-env-plugin.php wp-config* /dev-tools/
COPY scripts /scripts
COPY --from=helpers /rsync /usr/bin/rsync
COPY --link setup.sh add-site.sh dev-env-plugin.php wp-config* /dev-tools-orig/
COPY --link setup.sh add-site.sh dev-env-plugin.php wp-config* /dev-tools/
COPY --link scripts /scripts

ENTRYPOINT ["/usr/bin/rsync", "-a", "--delete", "/dev-tools-orig/", "/dev-tools/"]

0 comments on commit cf4b86a

Please sign in to comment.