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:
parent
59a17701a2
commit
08d7d8c803
@ -73,7 +73,6 @@ steps:
|
|||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-arm64
|
auto_tag_suffix: linux-arm64
|
||||||
dockerfile: Dockerfile.linux.arm64
|
dockerfile: Dockerfile.linux.arm64
|
||||||
platform: linux/arm64
|
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
depends_on:
|
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/
|
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/
|
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/
|
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/
|
COPY release/linux/ppc64le/drone /bin/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user