fix: run Snell on glibc-based Debian image
This commit is contained in:
@@ -9,9 +9,11 @@ RUN apk add --no-cache curl unzip \
|
|||||||
&& unzip -p /tmp/snell.zip snell-server > /snell-server \
|
&& unzip -p /tmp/snell.zip snell-server > /snell-server \
|
||||||
&& chmod 755 /snell-server
|
&& chmod 755 /snell-server
|
||||||
|
|
||||||
FROM alpine:3.21
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
RUN apk add --no-cache ca-certificates
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends ca-certificates libstdc++6 \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
COPY --from=downloader /snell-server /usr/local/bin/snell-server
|
COPY --from=downloader /snell-server /usr/local/bin/snell-server
|
||||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
RUN chmod 755 /usr/local/bin/entrypoint.sh
|
RUN chmod 755 /usr/local/bin/entrypoint.sh
|
||||||
|
|||||||
@@ -9,9 +9,11 @@ RUN apk add --no-cache curl unzip \
|
|||||||
&& unzip -p /tmp/snell.zip snell-server > /snell-server \
|
&& unzip -p /tmp/snell.zip snell-server > /snell-server \
|
||||||
&& chmod 755 /snell-server
|
&& chmod 755 /snell-server
|
||||||
|
|
||||||
FROM alpine:3.21
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
RUN apk add --no-cache ca-certificates
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends ca-certificates libstdc++6 \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
COPY --from=downloader /snell-server /usr/local/bin/snell-server
|
COPY --from=downloader /snell-server /usr/local/bin/snell-server
|
||||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
RUN chmod 755 /usr/local/bin/entrypoint.sh
|
RUN chmod 755 /usr/local/bin/entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user