Skip to content

Commit

Permalink
fix: docker build
Browse files Browse the repository at this point in the history
[16.04] debconf: delaying package configuration, since apt-utils is not installed #319: phusion/baseimage-docker#319
  • Loading branch information
pipinfitriadi committed Feb 24, 2024
1 parent d775637 commit a0ceb1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

FROM python:3.8-slim-buster AS venv
LABEL maintainer=pipinfitriadi@gmail.com
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NOWARNINGS="yes"
RUN --mount=type=cache,target=/var/cache/apt \
apt-get update && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y \
git \
# For Python Lib: mysqlclient
Expand Down

0 comments on commit a0ceb1a

Please sign in to comment.