mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-07 15:17:47 +00:00
Test rust:alpine in ARM Dockerfile
This commit is contained in:
parent
49bfe4d27c
commit
6b42e97bda
1 changed files with 2 additions and 4 deletions
|
@ -1,11 +1,9 @@
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
## Builder
|
## Builder
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
FROM rust:latest AS builder
|
FROM rust:alpine AS builder
|
||||||
|
|
||||||
RUN rustup target add aarch64-unknown-linux-musl
|
RUN apk add --no-cache musl-dev
|
||||||
RUN apt update && apt install -y musl-tools musl-dev
|
|
||||||
RUN update-ca-certificates
|
|
||||||
|
|
||||||
RUN adduser --home /nonexistent --no-create-home --disabled-password libreddit
|
RUN adduser --home /nonexistent --no-create-home --disabled-password libreddit
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue