add alpine builder
This commit is contained in:
parent
d6b7bebfb7
commit
bbec5544f4
2 changed files with 16 additions and 1 deletions
|
@ -35,3 +35,10 @@ builder-image:aarch64:
|
||||||
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