Skip to content

Commit

Permalink
Add missing wget binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondrej Scecina committed Sep 18, 2024
1 parent c7790da commit 3667bd1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3667bd1

Please sign in to comment.