Skip to content

Commit 1996c39

Browse files
committed
Run apt update and apt install in the same layer
1 parent b3c8428 commit 1996c39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM python:3.11-slim-buster
22

3-
RUN apt update
4-
RUN apt install libgl1 libglib2.0-0 -y
3+
RUN apt update && apt install libgl1 libglib2.0-0 -y
54

65
RUN useradd -ms /bin/bash api
76
USER api

0 commit comments

Comments
 (0)