brizental pushed to branch tor-browser-140.0esr-15.0-1 at The Tor Project / 
Applications / Tor Browser


Commits:
c83d0963 by Beatriz Rizental at 2025-07-15T17:34:35+02:00
fixup! Add CI for Tor Browser

Just use latest Rust and Node.js in the base container.

- - - - -


1 changed file:

- .gitlab/ci/containers/base/Containerfile


Changes:

=====================================
.gitlab/ci/containers/base/Containerfile
=====================================
@@ -3,7 +3,7 @@
 # Whenever there are changes to this file,
 # they are autopublished on merge to the tpo/applications/tor-browser 
repository.
 #
-# The image is updated roughly once a monce when the tor-browser repository is 
rebased.
+# The image is updated roughly once a month when the tor-browser repository is 
rebased.
 
 FROM containers.torproject.org/tpo/tpa/base-images/python:bookworm
 
@@ -32,20 +32,14 @@ RUN apt-get update && apt-get install -y \
         x11-utils \
         xvfb \
         xz-utils \
-        wget && \
-    apt-get clean && \
-    rm -rf /var/lib/apt/lists/*
-
-WORKDIR /app
+        wget
 
-COPY taskcluster/docker/recipes/install-node.sh ./install-node.sh
-RUN chmod +x install-node.sh
-RUN ./install-node.sh
-RUN rm ./install-node.sh
+RUN curl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.sh 
&& \
+    bash nodesource_setup.sh && \
+    apt-get install -y nodejs
 
-COPY taskcluster/kinds/fetch/toolchains.yml ./toolchains.yml
-RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $(grep 
-oP 'rust-\K[0-9.]+(?=:)' ./toolchains.yml)
-RUN $HOME/.cargo/bin/cargo install cbindgen --version $(grep -oP 
'cbindgen-\K[0-9.]+(?=:)' ./toolchains.yml)
-RUN rm ./toolchains.yml
+RUN apt-get clean && \
+    rm -rf /var/lib/apt/lists/*
 
-CMD ["/bin/bash"]
+RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
+    $HOME/.cargo/bin/cargo install cbindgen



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c83d0963e90cc74de321b036e2a17676829989f6

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c83d0963e90cc74de321b036e2a17676829989f6
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list -- tor-commits@lists.torproject.org
To unsubscribe send an email to tor-commits-le...@lists.torproject.org

Reply via email to