File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11# This Dockerfile is for the runtime image only.
22# It expects that the binaries have already been compiled on the host.
33# The path to the binaries can be passed in via the BINARY_PATH build argument.
4- ARG BINARY_PATH=./target/release
5-
64FROM debian:bookworm-slim
5+ ARG BINARY_PATH=./target/release
76
87# Install runtime dependencies required by the host-built binaries and tests
98# - libssl3: OpenSSL 3 (TLS)
@@ -25,8 +24,8 @@ COPY ${BINARY_PATH}/ /tmp/build/
2524# Find the actual executable files named 'anvil' and 'admin' within the copied tree
2625# and place them at fixed paths in the runtime image.
2726RUN set -eux; \
28- anvil_src=$(find /tmp/build -maxdepth 2 - type f -name anvil -perm -111 | head -n1); \
29- admin_src=$(find /tmp/build -maxdepth 2 - type f -name admin -perm -111 | head -n1); \
27+ anvil_src=$(find /tmp/build -type f -name anvil -perm -111 | head -n1); \
28+ admin_src=$(find /tmp/build -type f -name admin -perm -111 | head -n1); \
3029 test -n "$anvil_src" && test -n "$admin_src" ; \
3130 install -m 0755 "$anvil_src" /usr/local/bin/anvil; \
3231 install -m 0755 "$admin_src" /usr/local/bin/admin; \
You can’t perform that action at this time.
0 commit comments