[CI-11790]: update base image linuxamd64 (#3500)

pull/3504/head
Soumyajit Das 2024-04-13 05:57:58 +05:30 committed by GitHub
parent af44f639fd
commit 05296f42d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:3.11 as alpine
FROM alpine:3.19 as alpine
RUN apk add -U --no-cache ca-certificates tzdata
FROM alpine:3.11
FROM alpine:3.19
ENV GODEBUG netdns=go
ENV DRONE_RUNNER_OS=linux
ENV DRONE_RUNNER_ARCH=amd64
@ -9,7 +9,7 @@ ENV DRONE_RUNNER_PLATFORM=linux/amd64
ENV DRONE_RUNNER_CAPACITY=1
ADD release/linux/amd64/drone-agent /bin/
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
RUN if [[ ! -e /etc/nsswitch.conf ]] ; then echo 'hosts: files dns' > /etc/nsswitch.conf ; fi
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=alpine /usr/share/zoneinfo /usr/share/zoneinfo

View File

@ -1,7 +1,7 @@
FROM alpine:3.11 as alpine
FROM alpine:3.19 as alpine
RUN apk add -U --no-cache ca-certificates tzdata
FROM alpine:3.11
FROM alpine:3.19
ENV GODEBUG netdns=go
ENV DRONE_RUNNER_OS=linux
ENV DRONE_RUNNER_ARCH=amd64

View File

@ -1,13 +1,13 @@
# docker build --rm -f docker/Dockerfile -t drone/drone .
FROM alpine:3.11 as alpine
FROM alpine:3.19 as alpine
RUN apk add -U --no-cache ca-certificates tzdata
FROM alpine:3.11
FROM alpine:3.19
EXPOSE 80 443
VOLUME /data
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
RUN if [[ ! -e /etc/nsswitch.conf ]] ; then echo 'hosts: files dns' > /etc/nsswitch.conf ; fi
ENV GODEBUG netdns=go
ENV XDG_CACHE_HOME /data