1
0
mirror of https://github.com/drone/drone-cli.git synced 2024-11-22 17:01:58 +01:00

[feat]: [CI-8942]: Add alpine support (#240)

* [feat]: [CI-8942]: Add alpine support

---------

Co-authored-by: TP Honey <tp@harness.io>
This commit is contained in:
Soumyajit Das 2023-09-05 19:19:20 +05:30 committed by GitHub
parent 59a17701a2
commit 08d7d8c803
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 5 deletions

@ -73,7 +73,6 @@ steps:
auto_tag: true
auto_tag_suffix: linux-arm64
dockerfile: Dockerfile.linux.arm64
platform: linux/arm64
when:
event: [push, tag]
depends_on:

@ -1,4 +1,9 @@
FROM drone/ca-certs
FROM amd64/alpine:3.17 as alpine
RUN apk add -U --no-cache ca-certificates
FROM amd64/alpine:3.17
ENV GODEBUG netdns=go
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY release/linux/amd64/drone /bin/

@ -1,4 +1,11 @@
FROM drone/ca-certs
FROM arm32v7/alpine:3.12 as alpine
RUN apk add -U --no-cache ca-certificates
FROM arm64v8/alpine:3.12
ENV GODEBUG netdns=go
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY release/linux/arm/drone /bin/

@ -1,4 +1,11 @@
FROM drone/ca-certs
FROM arm64v8/alpine:3.12 as alpine
RUN apk add -U --no-cache ca-certificates
FROM arm64v8/alpine:3.12
ENV GODEBUG netdns=go
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY release/linux/arm64/drone /bin/

@ -1,4 +1,9 @@
FROM drone/ca-certs
FROM amd64/alpine:3.17 as alpine
RUN apk add -U --no-cache ca-certificates
FROM amd64/alpine:3.17
ENV GODEBUG netdns=go
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY release/linux/ppc64le/drone /bin/