diff --git a/Dockerfile b/Dockerfile index b1f92cc..8d3c9c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ #################################################################################################### ## Builder #################################################################################################### -FROM alpine:latest AS builder +FROM rust:alpine AS builder RUN apk add --no-cache musl-dev curl @@ -9,10 +9,6 @@ WORKDIR /intellectual COPY . . -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init;\ - chmod +x rustup-init; \ - ./rustup-init -y - # Figure out what arch we're on RUN TARGET=$(uname -m)-unknown-linux-musl; \ # Set environment variables so the build has git info