Skip to content

Commit dd6c419

Browse files
feat: Update Dockerfile
1 parent 412e469 commit dd6c419

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG VARIANT=latest
2-
FROM docker.io/library/ubuntu:$VARIANT
2+
FROM docker.io/library/python:$VARIANT
33

44
ARG USERNAME=codespace
55
ARG USER_UID=1000
@@ -19,9 +19,8 @@ RUN \
1919
bash /tmp/scripts/shfmt-debian.sh "3.5.1"; \
2020
bash /tmp/scripts/shellcheck-debian.sh "0.8.0"; \
2121
bash /tmp/scripts/editorconfig-debian.sh "2.5.0"; \
22-
bash /tmp/scripts/trivy.sh "0.30.4" "debian"; \
23-
bash /tmp/scripts/python-debian.sh; \
24-
bash /tmp/scripts/setup-python-tools.sh; \
22+
bash /tmp/scripts/trivy-debian.sh; \
23+
bash /tmp/scripts/setup-python-tools.sh "/usr/local/bin/python" "/usr/local/"; \
2524
apt-get autoremove; \
2625
apt-get clean; \
2726
rm -rf /var/lib/apt/lists/* /tmp/scripts

0 commit comments

Comments
 (0)