Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce Docker image size by improving apk commands #1205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.12.6-alpine3.20 AS builder

RUN apk --update add \
RUN apk --no-cache add \
build-base \
libxml2-dev \
libxslt-dev \
Expand All @@ -14,11 +14,11 @@ RUN pip install --prefix /install --no-warn-script-location --no-cache-dir -r re

FROM python:3.12.6-alpine3.20

RUN apk add --update --no-cache tor curl openrc libstdc++
RUN apk add --no-cache tor curl openrc libstdc++
# git go //for obfs4proxy
# libcurl4-openssl-dev

RUN apk -U upgrade
RUN apk --no-cache upgrade

# uncomment to build obfs4proxy
# RUN git clone https://gitlab.com/yawning/obfs4.git
Expand Down
Loading