Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Successful in 42s
Build containers / dependent-images (infra) (push) Successful in 9s
Build containers / dependent-images (php) (push) Failing after 47s
Build containers / dependent-images (go) (push) Failing after 36s
20 lines
970 B
Docker
20 lines
970 B
Docker
ARG TAG
|
|
FROM job79/base:${TAG}
|
|
USER root
|
|
|
|
RUN GO_VERSION=$(curl -sL "https://go.dev/VERSION?m=text" | head -n 1 | tr -d '\r\n') && \
|
|
curl -sL "https://go.dev/dl/${GO_VERSION}.linux-amd64.tar.gz" | tar xz -C /usr/local && \
|
|
ln -sf /usr/local/go/bin/go /usr/local/bin/go && \
|
|
ln -sf /usr/local/go/bin/gofmt /usr/local/bin/gofmt && \
|
|
GOBIN=/usr/local/bin /usr/local/go/bin/go install golang.org/x/tools/gopls@latest && \
|
|
GOBIN=/usr/local/bin /usr/local/go/bin/go install mvdan.cc/gofumpt@latest && \
|
|
GOBIN=/usr/local/bin /usr/local/go/bin/go install golang.org/x/tools/cmd/goimports@latest && \
|
|
GOBIN=/usr/local/bin /usr/local/go/bin/go install github.com/go-delve/delve/cmd/dlv@latest
|
|
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_current.x | bash - && \
|
|
apt-get install -y nodejs && \
|
|
npm install -g typescript typescript-language-server @tailwindcss/language-server && \
|
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
USER user
|