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

Update to bullseye #182

Open
wants to merge 5 commits into
base: master
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
27 changes: 14 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#Stage 1 : builder debian image
FROM debian:buster as builder
FROM debian:bullseye as builder

# properly setup debian sources
ENV DEBIAN_FRONTEND noninteractive
RUN echo "deb http://http.debian.net/debian buster main\n\
deb-src http://http.debian.net/debian buster main\n\
deb http://http.debian.net/debian buster-updates main\n\
deb-src http://http.debian.net/debian buster-updates main\n\
deb http://security.debian.org buster/updates main\n\
deb-src http://security.debian.org buster/updates main\n\
RUN echo "deb http://http.debian.net/debian bullseye main\n\
deb-src http://http.debian.net/debian bullseye main\n\
deb http://http.debian.net/debian bullseye-updates main\n\
deb-src http://http.debian.net/debian bullseye-updates main\n\
deb http://security.debian.org/debian-security/ bullseye-security main\n\
deb-src http://security.debian.org/debian-security/ bullseye-security main\n\
" > /etc/apt/sources.list

# install package building helpers
Expand All @@ -29,7 +29,7 @@ RUN mkdir /tmp/pure-ftpd/ && \


#Stage 2 : actual pure-ftpd image
FROM debian:buster-slim
FROM debian:bullseye-slim

# feel free to change this ;)
LABEL maintainer "Andrew Stilliard <[email protected]>"
Expand All @@ -41,13 +41,14 @@ RUN apt-get -y update && \
apt-get --no-install-recommends --yes install \
libc6 \
libcap2 \
libmariadb3 \
libmariadb3 \
libpam0g \
libssl1.1 \
lsb-base \
openbsd-inetd \
openssl \
perl \
libsodium23 \
lsb-base \
openbsd-inetd \
openssl \
perl \
rsyslog

COPY --from=builder /tmp/pure-ftpd/*.deb /tmp/pure-ftpd/
Expand Down