github.phpd.cn/goreleaser/goreleaser@v0.92.0/Dockerfile (about) 1 FROM golang:1.11 2 RUN apt-get update && \ 3 apt-get install -y --no-install-recommends rpm git apt-transport-https curl gnupg2 software-properties-common && \ 4 curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \ 5 add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \ 6 apt-get update && \ 7 apt-get install -y --no-install-recommends docker-ce &&\ 8 rm -rf /var/lib/apt/lists/* 9 COPY goreleaser /bin/goreleaser 10 COPY entrypoint.sh /entrypoint.sh 11 RUN chmod +x /entrypoint.sh 12 ENTRYPOINT ["/entrypoint.sh"] 13 CMD [ "-h" ]