From 6b42e97bda7294d56d579d9e47a124eed1578f87 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Fri, 9 Apr 2021 16:38:44 -0700 Subject: [PATCH] Test rust:alpine in ARM Dockerfile --- Dockerfile.arm64 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index 61d9a22..81a3f95 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -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