Skip to content

Commit 93df83c

Browse files
author
Sergey Ptashnick
committed
Dockerfile: fix ERROR: No module named apt
1 parent 5fd8a56 commit 93df83c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.8-slim-buster AS builder
1+
FROM debian:buster-slim AS builder
22

33
ARG NGINX_VERSION=1.18.0
44

@@ -7,7 +7,8 @@ RUN apt-get update && \
77
apt-get install -y tzdata locales wget build-essential autogen automake autoconf \
88
autotools-dev libreadline-dev libncurses5-dev libpcre3 libpcre3-dev libpng-dev \
99
dh-make quilt lsb-release debhelper dpkg-dev dh-systemd pkg-config \
10-
zlib1g-dev libssl-dev openssl git perl libtool tar unzip xutils-dev
10+
zlib1g-dev libssl-dev openssl git perl libtool tar unzip xutils-dev \
11+
python3-pip python3-apt
1112

1213
# Set timezone and locale
1314
ENV TZ Europe/Moscow

0 commit comments

Comments
 (0)