Skip to content

Commit

Permalink
Merge pull request #985 from Automattic/devtools-update-volume
Browse files Browse the repository at this point in the history
refactor(dev-tools): always update `/devtools`
  • Loading branch information
sjinks authored Dec 12, 2024
2 parents 227304b + e357c26 commit 0addf43
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions dev-tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +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/
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

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

0 comments on commit 0addf43

Please sign in to comment.