fix gosu
dockers/debian/pipeline/head This commit looks good
Details
dockers/debian/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3feddb4316
commit
702e60c0a0
|
@ -13,7 +13,7 @@ RUN set -xe;\
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
FROM bootstrapped as toolbuilder
|
FROM bootstrapped as toolbuilder
|
||||||
ENV GOSU_VERSION="1.12"
|
ENV GOSU_VERSION="1.14"
|
||||||
ENV DUMB_INIT_VERSION="1.2.5"
|
ENV DUMB_INIT_VERSION="1.2.5"
|
||||||
RUN set -xe;\
|
RUN set -xe;\
|
||||||
apt-get update &&\
|
apt-get update &&\
|
||||||
|
@ -21,7 +21,8 @@ RUN set -xe;\
|
||||||
git clone https://github.com/tianon/gosu.git /build &&\
|
git clone https://github.com/tianon/gosu.git /build &&\
|
||||||
cd /build &&\
|
cd /build &&\
|
||||||
git checkout $GOSU_VERSION &&\
|
git checkout $GOSU_VERSION &&\
|
||||||
go get || echo 0; go build
|
go mod download &&\
|
||||||
|
go build
|
||||||
RUN set -xe;\
|
RUN set -xe;\
|
||||||
apt-get install -y build-essential &&\
|
apt-get install -y build-essential &&\
|
||||||
cd / &&\
|
cd / &&\
|
||||||
|
@ -35,7 +36,7 @@ FROM bootstrapped
|
||||||
ARG DATE
|
ARG DATE
|
||||||
ENV GOSU_VERSION="1.12"
|
ENV GOSU_VERSION="1.12"
|
||||||
ENV DUMB_INIT_VERSION="1.2.3"
|
ENV DUMB_INIT_VERSION="1.2.3"
|
||||||
COPY --from=toolbuilder /build/build /usr/local/sbin/gosu
|
COPY --from=toolbuilder /build/gosu /usr/local/sbin/gosu
|
||||||
COPY --from=toolbuilder /dumb-init /usr/local/sbin/dumb-init
|
COPY --from=toolbuilder /dumb-init /usr/local/sbin/dumb-init
|
||||||
COPY apt-install /bin/apt-install
|
COPY apt-install /bin/apt-install
|
||||||
COPY checkupdates /bin/checkupdates
|
COPY checkupdates /bin/checkupdates
|
||||||
|
|
Loading…
Reference in New Issue