Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4095057
D1744.id4431.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1744.id4431.diff
View Options
diff --git a/jenkins-slave-rust/Dockerfile b/jenkins-slave-rust/Dockerfile
new file mode 100644
--- /dev/null
+++ b/jenkins-slave-rust/Dockerfile
@@ -0,0 +1,31 @@
+#
+# Nasqueron - Jenkins slave Docker image for PHP applications
+#
+
+FROM nasqueron/jenkins-slave-barebone
+MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
+
+#
+# Prepare the container
+#
+# Rustup installation and libs to use Diesel from https://github.com/emk/rust-musl-builder
+#
+
+ENV TOOLCHAIN=nightly
+
+RUN apt install -y build-essential cmake git curl nano vim file \
+ libpq-dev libsqlite-dev pkgconf sudo xutils-dev openssl \
+ strace gdb libssl-dev wget libpcre3-dev && \
+ apt autoremove -y && apt clean && \
+ groupadd -r app -g 433 && \
+ mkdir /home/app && \
+ useradd -u 431 -r -g app -d /home/app -s /bin/sh -c "Default application account" app && \
+ chown -R app:app /home/app && \
+ chmod 711 /home/app
+
+USER app
+
+RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain TOOLCHAIN && \
+ source /home/app/.cargo.env && \
+ rustup component add clippy-preview --toolchain=nightly && \
+ rustup component add rustfmt-preview --toolchain=nightly
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 8, 21:53 (11 m, 48 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2397891
Default Alt Text
D1744.id4431.diff (1 KB)
Attached To
Mode
D1744: Provide Jenkins agent image for Rust
Attached
Detach File
Event Timeline
Log In to Comment