docker: upgrade alpine in base dockerfile

This allows us to upgrade rustc to past 1.65, which is required by sea-orm.
This commit is contained in:
Austin Alvarado 2023-01-04 00:24:40 -07:00 committed by GitHub
parent 1e5603dce2
commit 14531fa258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
# Build image # Build image
FROM rust:alpine3.14 AS chef FROM rust:alpine3.16 AS chef
RUN set -x \ RUN set -x \
# Add user # Add user
@ -41,7 +41,7 @@ RUN cargo build --release -p lldap -p migration-tool \
&& ./app/build.sh && ./app/build.sh
# Final image # Final image
FROM alpine:3.14 FROM alpine:3.16
ENV GOSU_VERSION 1.14 ENV GOSU_VERSION 1.14
# Fetch gosu from git # Fetch gosu from git