add alpine builder
This commit is contained in:
parent
d6b7bebfb7
commit
bbec5544f4
2 changed files with 16 additions and 1 deletions
|
@ -34,4 +34,11 @@ builder-image:aarch64:
|
||||||
tags: [arm-docker-builder]
|
tags: [arm-docker-builder]
|
||||||
variables:
|
variables:
|
||||||
DOCKERFILE: "signald-builder.Dockerfile"
|
DOCKERFILE: "signald-builder.Dockerfile"
|
||||||
NAME: "signald-builder-arm"
|
NAME: "signald-builder-arm"
|
||||||
|
|
||||||
|
builder-image-alpine:aarch64:
|
||||||
|
<<: *build
|
||||||
|
tags: [arm-docker-builder]
|
||||||
|
variables:
|
||||||
|
DOCKERFILE: "signald-builder-alpine.Dockerfile"
|
||||||
|
NAME: "signald-builder-alpine-arm"
|
||||||
|
|
8
signald-builder-alpine.Dockerfile
Normal file
8
signald-builder-alpine.Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
RUN apk upgrade -alU \
|
||||||
|
&& apk add rust make git cargo \
|
||||||
|
&& adduser -D signald \
|
||||||
|
&& rm -rfv /var/cache/apk/*
|
||||||
|
|
||||||
|
USER signald
|
Loading…
Reference in a new issue