Skip to content

Commit fafc61f

Browse files
authored
Merge pull request #874 from flavio/fix-docker-image-local-build
fix: allow Docker image to be built locally
2 parents 078ab8b + ac3fb24 commit fafc61f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Dockerfile

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
FROM rust:1.78 AS build
1+
FROM rust:1.80-alpine AS build
22
WORKDIR /usr/src
33

4-
# Download the target for static linking.
5-
RUN rustup target add $(arch)-unknown-linux-musl
6-
7-
# Fix ring building using musl - see https://github.com/briansmith/ring/issues/1414#issuecomment-1055177218
8-
RUN apt-get update && apt-get install musl-tools clang llvm -y
9-
ENV CC="clang"
4+
RUN apk add --no-cache musl-dev make
105

116
RUN mkdir /usr/src/policy-server
127
WORKDIR /usr/src/policy-server

0 commit comments

Comments
 (0)