diff options
| author | Alexander Rakoczy <[email protected]> | 2021-11-18 16:46:21 -0500 |
|---|---|---|
| committer | Alexander Rakoczy <[email protected]> | 2021-11-18 16:46:21 -0500 |
| commit | cc25b8d9d888fbb524dcc66c22e19fd80e28e004 (patch) | |
| tree | 3d844f4b3a0f71c4758a96e7502f410cbcf3942e | |
| parent | ddcd8311f7666b0f7246474cdaf944c1fa036b53 (diff) | |
less dockering
| -rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ FROM marketplace.gcr.io/google/debian11 AS build -ENV BUILD_DEPS 'curl git gcc patch libc6-dev ca-certificates build-essential pkg-config' +#ENV BUILD_DEPS 'curl git gcc patch libc6-dev ca-certificates build-essential pkg-config' +ENV BUILD_DEPS 'ca-certificates git curl' RUN apt-get update && apt-get install -y ${BUILD_DEPS} --no-install-recommends ENV GOPATH=/go @@ -8,7 +9,7 @@ ENV GOROOT_BOOTSTRAP=/usr/local/go-bootstrap RUN curl -sSL https://dl.google.com/go/go1.17.2.linux-amd64.tar.gz -o /tmp/go.tar.gz RUN mkdir -p $GOROOT_BOOTSTRAP RUN tar --strip=1 -C $GOROOT_BOOTSTRAP -xzf /tmp/go.tar.gz -RUN $GOROOT_BOOTSTRAP/bin/go install golang.org/dl/gotip@latest +#RUN $GOROOT_BOOTSTRAP/bin/go install golang.org/dl/gotip@latest #RUN /go/bin/gotip download RUN mkdir -p /workdir |
