Test rust:alpine in ARM Dockerfile

This commit is contained in:
spikecodes 2021-04-09 16:38:44 -07:00
parent 49bfe4d27c
commit 6b42e97bda
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB
1 changed files with 2 additions and 4 deletions

View File

@ -1,11 +1,9 @@
####################################################################################################
## Builder
####################################################################################################
FROM rust:latest AS builder
FROM rust:alpine AS builder
RUN rustup target add aarch64-unknown-linux-musl
RUN apt update && apt install -y musl-tools musl-dev
RUN update-ca-certificates
RUN apk add --no-cache musl-dev
RUN adduser --home /nonexistent --no-create-home --disabled-password libreddit