Skip to content

Commit

Permalink
Fix Dockerfile - python3.9
Browse files Browse the repository at this point in the history
Image debian:latest contains python3.11 so "docker build" returns error:

 > [3/8] RUN python3.9 -m venv "/venv":
0.349 /bin/sh: 1: python3.9: not found

python3.9 is installed in Debian Bullseye release.
  • Loading branch information
nfsec authored Oct 18, 2023
1 parent 98cfed3 commit ed0a16c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM debian:latest
FROM debian:bullseye-slim

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update \
&& apt-get install -y --force-yes --no-install-recommends \
Expand Down

0 comments on commit ed0a16c

Please sign in to comment.