2020-04-22 19:06:58 -04:00
|
|
|
FROM ubuntu:18.04
|
2019-07-09 21:32:39 -04:00
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
ENV LANG C.UTF-8
|
|
|
|
ENV GOROOT /usr/local/go
|
2020-04-22 19:06:58 -04:00
|
|
|
ENV GOPATH /usr/local/gopath
|
2019-07-09 21:32:39 -04:00
|
|
|
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"]
|