Skip to content

Commit c19d8a9

Browse files
committed
devcontainer
Signed-off-by: Dmytro Rashko <dmitriy.rashko@amdocs.com>
1 parent 7c2213c commit c19d8a9

2 files changed

Lines changed: 16 additions & 10 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
### STAGE 1: download-tools-cli
2-
ARG BASE_IMAGE_REGISTRY=cgr.dev
3-
FROM $BASE_IMAGE_REGISTRY/chainguard/wolfi-base:latest AS tools
1+
FROM mcr.microsoft.com/devcontainers/go:1-1.24-bookworm
42

5-
RUN --mount=type=cache,target=/var/cache/apk,rw \
6-
echo "Installing on $BUILDPLATFORM" \
7-
&& apk update \
8-
&& apk add curl zsh go \
9-
&& update-ca-certificates
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
ca-certificates \
5+
curl \
6+
git \
7+
gnupg \
8+
gnupg2 \
9+
htop \
10+
jq \
11+
less \
12+
lsof \
13+
net-tools \
14+
openssh-client \
15+
unzip \
16+
vim \
17+
zsh
1018

1119
ENTRYPOINT ["zsh"]

.devcontainer/devcontainer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,4 @@
4242
//mount docker directly on the host
4343
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"],
4444

45-
// Uncomment the next line to run commands after the container is created.
46-
"postCreateCommand": "echo 'Container is ready!'"
4745
}

0 commit comments

Comments
 (0)