Skip to content

Commit

Permalink
build: Update dockerfile deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsvante committed Jan 5, 2025
1 parent 16a9de8 commit f8a6658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
# https://github.com/emerzon/alpine-mimalloc/blob/master/Dockerfile
# NOTE: This has to be activated from within the Rust code,
# e.g. with https://crates.io/crates/mimalloc.
ARG API_BASE_IMAGE=lukemathwalker/cargo-chef:0.1.62-rust-1.75.0-alpine3.19
ARG API_BASE_IMAGE=lukemathwalker/cargo-chef:0.1.68-rust-1.83.0-alpine3.21


### Mimalloc compilation
FROM $API_BASE_IMAGE as mimalloc_builder

Check warning on line 11 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Docker image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
ARG MIMALLOC_VERSION=2.1.2
ARG MIMALLOC_VERSION=2.1.9
RUN apk add --no-cache build-base cmake linux-headers \
&& wget -O- https://github.com/microsoft/mimalloc/archive/refs/tags/v$MIMALLOC_VERSION.tar.gz | tar xzf - \
&& cmake mimalloc-$MIMALLOC_VERSION \
Expand Down

0 comments on commit f8a6658

Please sign in to comment.