Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 668 Bytes
FROM debian:9.11-slim as base
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends \
curl \
FROM base as go
RUN curl --proto '=https' -sSf \ > go.tar.gz \
&& tar -C /usr/local -xzf go.tar.gz
FROM base as rust
RUN curl --proto '=https' --tlsv1.2 -sSf > \
&& bash -y --profile minimal
FROM base
COPY --from=rust /root/.cargo/ /root/.cargo/
COPY --from=rust /root/.rustup/ /root/.rustup/
COPY --from=go /usr/local/go/ /usr/local/go/
ENV PATH "/usr/local/go/bin:/root/.cargo/bin:$PATH"
You can’t perform that action at this time.