File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ARG VARIANT=latest
2+ FROM docker.io/library/python:$VARIANT
3+
4+ ARG USERNAME=codespace
5+ ARG USER_UID=1000
6+ ARG USER_GID=$USER_UID
7+
8+ ENV \
9+ DEBIAN_FRONTEND=noninteractive \
10+ DOCKER_BUILDKIT=1 \
11+ SHELL=/bin/bash
12+
13+ COPY library-scripts/* /tmp/scripts/
14+
15+ RUN \
16+ bash /tmp/scripts/common-debian.sh "true"; \
17+ bash /tmp/scripts/setup-user-debian.sh "${USERNAME}" "${USER_UID}" "${USER_GID}"; \
18+ bash /tmp/scripts/hadolint-debian.sh "2.10.0"; \
19+ bash /tmp/scripts/shfmt-debian.sh "3.5.1"; \
20+ bash /tmp/scripts/shellcheck-debian.sh "0.8.0"; \
21+ bash /tmp/scripts/editorconfig-debian.sh "2.5.0"; \
22+ bash /tmp/scripts/trivy-debian.sh; \
23+ bash /tmp/scripts/setup-python-tools.sh "/usr/local/bin/python" "/usr/local/"; \
24+ apt-get autoremove; \
25+ apt-get clean; \
26+ rm -rf /var/lib/apt/lists/* /tmp/scripts
You can’t perform that action at this time.
0 commit comments