1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: docker: go1.11 and no-install-recommends

This commit is contained in:
Carlos Alexandro Becker 2018-10-05 10:07:03 -03:00 committed by Carlos Alexandro Becker
parent ba77abe07c
commit 09ee5d9e7d

View File

@ -1,9 +1,10 @@
FROM golang:1.10
FROM golang:1.11
RUN apt-get update && \
apt-get install -y rpm git apt-transport-https curl gnupg2 software-properties-common && \
apt-get install -y --no-install-recommends rpm git apt-transport-https curl gnupg2 software-properties-common && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \
apt-get update && apt-get install -y docker-ce &&\
apt-get update && \
apt-get install -y --no-install-recommends docker-ce &&\
rm -rf /var/lib/apt/lists/*
COPY goreleaser /bin/goreleaser
COPY entrypoint.sh /entrypoint.sh