Skip to content

Commit 10de059

Browse files
committed
Docker build failing, revert to non-alpine #618
1 parent 25f8276 commit 10de059

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
target
22
Dockerfile
3+
dockerfile
34
.dockerignore
45
.env
56
.git

dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
FROM rust:1.67 as builder
1+
FROM rust:latest as builder
22
WORKDIR /app
33
COPY . .
4+
# git-fetch-with-cli is a CI bugfix, we should be able to remove it later
45
RUN cargo build --release --bin atomic-server --config net.git-fetch-with-cli=true
56

6-
# We only need a small runtime for this step, but make sure glibc is installed
7-
FROM frolvlad/alpine-glibc:alpine-3.16_glibc-2.34 as runtime
7+
# We only need a small runtime for this step
8+
FROM rust:latest as runtime
89
COPY --chmod=0755 --from=builder /app/target/release/atomic-server /atomic-server-bin
910
# For a complete list of possible ENV vars or available flags, run with `--help`
1011
ENV ATOMIC_STORE_PATH="/atomic-storage/db"

0 commit comments

Comments
 (0)