File tree Expand file tree Collapse file tree 3 files changed +75
-0
lines changed
Expand file tree Collapse file tree 3 files changed +75
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : gomod
4+ directory : " /"
5+ schedule :
6+ interval : daily
7+ timezone : " Europe/Berlin"
8+ reviewers :
9+ - " JohannesHepp"
10+
11+ - package-ecosystem : " github-actions"
12+ directory : " /"
13+ schedule :
14+ interval : " daily"
15+ timezone : " Europe/Berlin"
16+ reviewers :
17+ - " JohannesHepp"
Original file line number Diff line number Diff line change 1+ FROM alpine:3.22
2+
3+ ENV USER=stackit
4+ ENV UID=10001
5+ ENV GID=10001
6+
7+ RUN apk update \
8+ && apk upgrade \
9+ && apk add -v --update --no-cache \
10+ bash bash-completion \
11+ bind-tools \
12+ busybox-extras \
13+ bzip2 \
14+ ca-certificates \
15+ coreutils \
16+ curl \
17+ git \
18+ groff \
19+ httpie \
20+ htop iftop \
21+ jq \
22+ less \
23+ mailcap \
24+ mysql-client \
25+ mc \
26+ mtr \
27+ openldap-clients \
28+ openssl \
29+ postgresql-client \
30+ redis \
31+ sed \
32+ screen \
33+ python3 \
34+ tmux \
35+ tree \
36+ unzip \
37+ vim \
38+ wget \
39+ socat
40+
41+ RUN export ARCH="$(uname -m)" && if [[ ${ARCH} == "x86_64" ]]; then export ARCH="amd64" ; elif [[ ${ARCH} == "aarch64" ]]; then export ARCH="arm64" ; fi && curl -L https://dl.k8s.io/release/${KUBE_LATEST_VERSION}/bin/linux/${ARCH}/kubectl -o /usr/local/bin/kubectl \
42+ && chmod +x /usr/local/bin/kubectl
43+
44+ # Prevent user from running apk add etc.
45+ # yes they can still download binaries, but its a first barier
46+ RUN addgroup -g $GID $USER \
47+ && adduser \
48+ --disabled-password \
49+ --gecos "" \
50+ --home "$(pwd)" \
51+ --ingroup "$USER" \
52+ --no-create-home \
53+ --uid "$UID" \
54+ "$USER"
55+ USER "$USER"
56+
57+ ENTRYPOINT [ "/bin/bash" ]
Original file line number Diff line number Diff line change 1+ # STACKIT Debug Container Image
You can’t perform that action at this time.
0 commit comments