Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

armhf golang dockerfile

Image name: takawang/ubuntu:armhf-golang

FROM armv7/armhf-ubuntu:16.04

# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
    wget ca-certificates \
  && rm -rf /var/lib/apt/lists/*

RUN wget https://storage.googleapis.com/golang/go1.7.linux-armv6l.tar.gz \
    && tar -C /usr/local -xzf go1.7.linux-armv6l.tar.gz \
    && rm go1.7.linux-armv6l.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
Docker Pull Command
Owner
takawang