-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile.extra
37 lines (31 loc) · 1.18 KB
/
Dockerfile.extra
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM jutgeorg/base:latest
USER root
# Zig
RUN apt-get --yes --no-install-recommends install xz-utils
RUN curl https://ziglang.org/download/index.json \
| jq '.["master"]["x86_64-linux"]["tarball"]' | tr -d '"' \
| xargs wget && \
tar -xJf zig-linux-*.tar.xz -C /opt && \
mv /opt/zig-linux-* /opt/zig && \
rm -f zig-linux-*.tar.xz && \
echo "export PATH=\$PATH:/opt/zig" >> /home/worker/.profile
ENV PATH="$PATH:/opt/zig"
# Bun
USER worker
RUN curl -fsSL https://bun.sh/install | bash && \
mv ~/.bun /opt/bun
USER root
RUN echo 'export PATH=$PATH:/opt/bun/bin' > /etc/profile.d/99-bun.sh
# Install extra languages
RUN apt-get --yes --no-install-recommends install php-cli
RUN apt-get --yes --no-install-recommends install rustc
RUN apt-get --yes --no-install-recommends install lua5.3
RUN apt-get --yes --no-install-recommends install gccgo golang
RUN apt-get --yes --no-install-recommends install r-base r-base-core r-base-dev r-cran-vgam r-recommended
RUN apt-get --yes --no-install-recommends install nodejs
RUN apt-get --yes --no-install-recommends install ruby
# Whitespace
# ADD bin/wspace /usr/local/bin/wspace
# RUN chmod 755 /usr/local/bin/wspace
USER worker
WORKDIR /home/worker