Skip to content

Commit 8ffe229

Browse files
rzadpalvicsam
andauthored
Update the polkadot_builder Dockerfile (#4638)
This Dockerfile seems outdated - it currently fails to build (on my machine). I don't see it being built anywhere on CI. I did a couple of tweaks to make it build. --------- Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
1 parent 3977f38 commit 8ffe229

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker/dockerfiles/polkadot/polkadot_builder.Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This is the build stage for Polkadot. Here we create the binary in a temporary image.
2-
FROM docker.io/paritytech/ci-linux:production as builder
2+
FROM docker.io/paritytech/ci-unified:bullseye-1.77.0-2024-04-10-v20240408 as builder
33

44
WORKDIR /polkadot
55
COPY . /polkadot
@@ -19,7 +19,8 @@ LABEL description="Multistage Docker image for Polkadot: a platform for web3" \
1919

2020
COPY --from=builder /polkadot/target/release/polkadot /usr/local/bin
2121

22-
RUN useradd -m -u 1000 -U -s /bin/sh -d /polkadot polkadot && \
22+
USER root
23+
RUN useradd -m -u 1001 -U -s /bin/sh -d /polkadot polkadot && \
2324
mkdir -p /data /polkadot/.local/share && \
2425
chown -R polkadot:polkadot /data && \
2526
ln -s /data /polkadot/.local/share/polkadot && \

0 commit comments

Comments
 (0)