From 3667bd18bde3b51b105a2ed9d421ae8333c7c326 Mon Sep 17 00:00:00 2001 From: Ondrej Scecina Date: Wed, 18 Sep 2024 12:55:43 +0200 Subject: [PATCH] Add missing wget binary --- docker/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index da5c7383..483f5528 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -20,6 +20,10 @@ COPY ./cedar-agent /tmp/cedar-agent WORKDIR /tmp/cedar-agent RUN CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo build --release +# BUSYBOX IMAGE -------------------------------------- +# --------------------------------------------------- +FROM busybox:1.36.1-uclibc AS busybox-builder + # COMMON IMAGE -------------------------------------- # --------------------------------------------------- FROM python:3.10-slim-bookworm AS common @@ -33,6 +37,10 @@ COPY --from=build-stage /usr/local /usr/local RUN useradd -m -b / -s /bin/bash opal WORKDIR /opal +# copy wget binary +COPY --from=busybox-builder /bin/wget /bin/wget +RUN chmod +x /bin/wget + # copy wait-for script (create link at old path to maintain backward compatibility) COPY scripts/wait-for.sh . RUN chmod +x ./wait-for.sh