diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d09799c..2fa355c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,4 +34,11 @@ builder-image:aarch64: tags: [arm-docker-builder] variables: DOCKERFILE: "signald-builder.Dockerfile" - NAME: "signald-builder-arm" \ No newline at end of file + NAME: "signald-builder-arm" + +builder-image-alpine:aarch64: + <<: *build + tags: [arm-docker-builder] + variables: + DOCKERFILE: "signald-builder-alpine.Dockerfile" + NAME: "signald-builder-alpine-arm" diff --git a/signald-builder-alpine.Dockerfile b/signald-builder-alpine.Dockerfile new file mode 100644 index 0000000..e0c92ff --- /dev/null +++ b/signald-builder-alpine.Dockerfile @@ -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