diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -3,21 +3,12 @@ FROM ${ARCH}ubuntu:latest RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \ apt-get -y install software-properties-common ca-certificates curl && \ - add-apt-repository ppa:longsleep/golang-backports && \ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \ apt-get update && \ - apt-get -y install --no-install-recommends gnupg2 procps sudo git libpq-dev make golang nodejs && \ + apt-get -y install --no-install-recommends gnupg2 procps sudo git make nodejs && \ useradd -m -d /home/vscode -s /bin/bash vscode && adduser vscode sudo && echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers USER vscode -RUN go install github.com/go-delve/delve/cmd/dlv@latest -RUN go install golang.org/x/tools/gopls@latest -RUN go install github.com/cweill/gotests/gotests@v1.6.0 -RUN go install github.com/fatih/gomodifytags@v1.16.0 -RUN go install github.com/josharian/impl@v1.1.0 -RUN go install github.com/haya14busa/goplay/cmd/goplay@v1.0.0 -RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 - SHELL ["/bin/bash", "-c", "-l"] |