2019-07-09 21:32:39 -04:00
|
|
|
FROM ubuntu:16.04
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
|
|
ENV LANG C.UTF-8
|
|
|
|
|
|
|
|
ENV GOROOT /usr/local/go
|
|
|
|
|
|
|
|
ENV GOPATH /usr/local
|
|
|
|
|
|
|
|
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH
|
|
|
|
|
2019-07-11 14:45:57 -04:00
|
|
|
ENV MINT_ROOT_DIR /mint
|
|
|
|
|
|
|
|
COPY mint /mint
|
|
|
|
|
2019-07-09 21:32:39 -04:00
|
|
|
RUN apt-get --yes update && apt-get --yes upgrade && \
|
|
|
|
apt-get --yes --quiet install wget jq curl git dnsmasq && \
|
2019-07-11 14:45:57 -04:00
|
|
|
cd /mint && /mint/release.sh
|
2019-07-09 21:32:39 -04:00
|
|
|
|
|
|
|
WORKDIR /mint
|
|
|
|
|
|
|
|
ENTRYPOINT ["/mint/entrypoint.sh"]
|