Public Repository

Last pushed: 2 years ago
Short Description
DON'T USE THIS. IT'S NOT SAFE
Full Description

DON'T USE THIS. IT'S NOT SAFE

FROM 32bit/debian

# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
                ca-certificates \
                curl \
        g++ \
        gcc \
                git \
        libc6-dev \
                libappindicator3-dev \
                libgtk-3-dev \
        make \
                pkg-config \
    && rm -rf /var/lib/apt/lists/*

ENV GOLANG_VERSION 1.6
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-386.tar.gz
ENV GOLANG_DOWNLOAD_SHA256 7a240a0f45e559d47ea07319d9faf838225eb9e18174f56a76ccaf9860dbb9b1

RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
    && echo "$GOLANG_DOWNLOAD_SHA256  golang.tar.gz" | sha256sum -c - \
    && tar -C /usr/local -xzf golang.tar.gz \
    && rm golang.tar.gz

ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH

RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
WORKDIR $GOPATH

COPY go-wrapper /usr/local/bin/
Docker Pull Command
Owner
arduino

Comments (0)