File tree Expand file tree Collapse file tree
playground/backend/containers/router Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,16 +44,19 @@ RUN cd cmd/migration_tool &&\
4444 go build -o /go/bin/migration_tool
4545
4646# Null image
47- FROM debian:stable-20221114 -slim
47+ FROM debian:bullseye -slim
4848
49+ ENV DEBIAN_FRONTEND=noninteractive
4950# Install deps being used by sh files
50- RUN apt-get update \
51- && apt-get install -y --no-install-recommends \
52- ca-certificates \
53- curl \
54- && apt-get autoremove -yqq --purge \
55- && apt-get clean \
56- && rm -rf /var/lib/apt/lists/*
51+ RUN set -eux; \
52+ # 1) use existing HTTP sources to bootstrap CAs
53+ apt-get update; \
54+ apt-get install -y --no-install-recommends ca-certificates; \
55+ # 2) now it’s safe to use HTTPS
56+ sed -ri 's|http://deb\. debian\. org|https://deb.debian.org|g' /etc/apt/sources.list; \
57+ apt-get update; \
58+ apt-get install -y --no-install-recommends curl; \
59+ rm -rf /var/lib/apt/lists/*
5760
5861# Set Environment
5962ENV SERVER_IP=0.0.0.0
You can’t perform that action at this time.
0 commit comments