Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docker/openssl1.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM debian:bullseye-slim

# Bullseye is past end of life. deb.debian.org still serves its indexes but has
# purged the security pool, so packages come from the archive.
RUN sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list

RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
Expand Down
3 changes: 3 additions & 0 deletions smoke-test/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
ARG BUILD_BASE=debian:bookworm
ARG RUNTIME_BASE=debian:bookworm-slim
FROM ${BUILD_BASE} AS build
# deb.debian.org has purged bullseye's security pool, so bullseye installs need the archive.
RUN . /etc/os-release && if [ "$VERSION_CODENAME" = bullseye ]; then sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list; fi
RUN apt-get update && apt-get install -y --no-install-recommends build-essential && rm -rf /var/lib/apt/lists/*
COPY loader.c /loader.c
RUN gcc -O2 -o /loader /loader.c -ldl

FROM ${RUNTIME_BASE}
ARG RUNTIME_PKGS=""
RUN . /etc/os-release && if [ "$VERSION_CODENAME" = bullseye ]; then sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list; fi
RUN if [ -n "$RUNTIME_PKGS" ]; then apt-get update && apt-get install -y --no-install-recommends $RUNTIME_PKGS && rm -rf /var/lib/apt/lists/*; fi
COPY --from=build /loader /usr/local/bin/loader
COPY native/ /native/
Expand Down
Loading