Merge branch 'aarch' into 'aarch'

Alpine Builder

See merge request signald/infrastructure!1
This commit is contained in:
Finn 2020-12-02 23:43:32 +00:00
commit 0081ee047a
2 changed files with 16 additions and 1 deletions

View file

@ -34,4 +34,11 @@ builder-image:aarch64:
tags: [arm-docker-builder]
variables:
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"

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