Skip to content

Commit

Permalink
build with debian to ensure GLIB match
Browse files Browse the repository at this point in the history
  • Loading branch information
lthiery committed Aug 14, 2023
1 parent b92ec8d commit 9edbdfd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
####################################################################################################
## Builder
####################################################################################################
FROM rust:latest AS builder
FROM debian:buster-slim AS builder

RUN update-ca-certificates
RUN apt-get update
RUN apt-get upgrade
RUN apt-get install -y curl build-essential

# Get Rust
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

# Create appuser
ENV USER=hnt-explorer
Expand Down

0 comments on commit 9edbdfd

Please sign in to comment.