Skip to content

Commit eda3b8f

Browse files
image: revert to before installing rust
it seems like github wants a specific user config setup, too much work to do the same day of the release
1 parent 1264674 commit eda3b8f

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

Dockerfile

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,3 @@ WORKDIR /tmp/gtk-4.6.0
1111
RUN meson _build --prefix=/usr -Dgtk_doc=false -Dintrospection=disabled -Dbuild-examples=false -Dbuild-tests=false -Ddemos=false
1212
RUN ninja -C _build
1313
RUN ninja -C _build install
14-
15-
# set up a user
16-
ARG HOST_USER_ID=5555
17-
ENV HOST_USER_ID ${HOST_USER_ID}
18-
RUN useradd -u $HOST_USER_ID -ms /bin/bash user
19-
20-
USER user
21-
WORKDIR /home/user
22-
23-
# install rust stable/nightly/beta/latest supported version
24-
25-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
26-
ENV PATH="/home/user/.cargo/bin:${PATH}"
27-
28-
RUN rustup toolchain install stable --profile minimal --allow-downgrade -c clippy -c rustfmt
29-
RUN rustup toolchain install beta --profile minimal --allow-downgrade -c clippy -c rustfmt
30-
RUN rustup toolchain install nightly --profile minimal --allow-downgrade -c clippy -c rustfmt
31-
RUN rustup toolchain install 1.56.0 --profile minimal --allow-downgrade -c clippy -c rustfmt
32-
33-
RUN rustup default stable

0 commit comments

Comments
 (0)