2024-06-15 06:00:02 +00:00
|
|
|
FROM golang:1.22.4
|
2017-09-20 23:40:33 +00:00
|
|
|
|
2024-04-14 08:51:17 +00:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y npm && \
|
|
|
|
npm install -g npx cspell@latest
|
|
|
|
|
2017-09-20 23:40:33 +00:00
|
|
|
COPY scripts/devtools.sh /opt/devtools.sh
|
|
|
|
|
2024-04-14 08:51:17 +00:00
|
|
|
RUN set -e -x && \
|
|
|
|
/opt/devtools.sh
|
2017-09-20 23:40:33 +00:00
|
|
|
|
2024-04-14 08:51:17 +00:00
|
|
|
ENV PATH=/go/bin:$PATH
|
2023-10-17 03:21:41 +00:00
|
|
|
|
2017-09-20 23:40:33 +00:00
|
|
|
ENV CGO_ENABLED 0
|
2017-12-17 22:11:08 +00:00
|
|
|
ENV GOPATH /go:/yq
|