add alpine builder

This commit is contained in:
Kyle Copperfield 2020-12-02 23:28:26 +00:00
parent d6b7bebfb7
commit bbec5544f4
2 changed files with 16 additions and 1 deletions

View file

@ -35,3 +35,10 @@ builder-image:aarch64:
variables:
DOCKERFILE: "signald-builder.Dockerfile"
NAME: "signald-builder-arm"
builder-image-alpine:aarch64:
<<: *build
tags: [arm-docker-builder]
variables:
DOCKERFILE: "signald-builder-alpine.Dockerfile"
NAME: "signald-builder-alpine-arm"

View 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