Skip to content

Commit 579c7af

Browse files
committed
Remove unecessary code and old comments
1 parent d512a1c commit 579c7af

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

‎Dockerfile‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@ RUN apt-get -y install \
1414
zlib1g-dev \
1515
rustup
1616

17-
#RUN useradd -m workuser
18-
#RUN chown -R workuser:workuser /home/workuser
19-
#RUN mkdir -p /opt/workdir /home/workuser/.rustup/downloads
20-
#RUN chown workuser:workuser /opt/workdir
21-
#RUN chmod u+rw /opt/workdir /home/workuser
22-
#
23-
#USER workuser
24-
#
25-
#RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
26-
2717
RUN rustup toolchain install "1.96.1-x86_64-unknown-linux-gnu"
2818
RUN rustup toolchain install "nightly-2026-06-30-x86_64-unknown-linux-gnu"
2919
RUN rustup component add --toolchain "nightly-2026-06-30-x86_64-unknown-linux-gnu" rust-src rustc-dev llvm-tools-preview
@@ -34,7 +24,7 @@ ENV RUST_BACKTRACE=full
3424

3525
WORKDIR /opt/workdir
3626

37-
CMD cmake \
27+
CMD cmake \
3828
-G Ninja \
3929
-B build \
4030
-D CMAKE_C_COMPILER="$(which clang-22)" \

‎compose.yml‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@ services:
55
context: .
66
volumes:
77
- "$PWD:/opt/workdir"
8-
dns: 1.1.1.1
9-
cap_add:
10-
- NET_ADMIN
11-
8+

0 commit comments

Comments
 (0)