You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-09-16 09:26:52 +02:00
fix: docker: go1.11 and no-install-recommends
This commit is contained in:
committed by
Carlos Alexandro Becker
parent
ba77abe07c
commit
09ee5d9e7d
@@ -1,9 +1,10 @@
|
|||||||
FROM golang:1.10
|
FROM golang:1.11
|
||||||
RUN apt-get update && \
|
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 - && \
|
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" && \
|
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/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
COPY goreleaser /bin/goreleaser
|
COPY goreleaser /bin/goreleaser
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
Reference in New Issue
Block a user