forked from judge0/compilers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile-backup.txt
More file actions
55 lines (47 loc) 路 2.03 KB
/
Copy pathDockerfile-backup.txt
File metadata and controls
55 lines (47 loc) 路 2.03 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Check for latest version here: https://hub.docker.com/_/buildpack-deps?tab=tags&page=1&name=buster&ordering=last_updated
# This is just a snapshot of buildpack-deps:buster that was last updated on 2019-12-28.
FROM icr.io/ibmz/buildpack-deps:18.04-scm
# ENV PATH "/usr/local/ruby-2.7.0/bin:/opt/.gem/bin:$PATH"
# ENV GEM_HOME "/opt/.gem/"
RUN cd /usr/local && ls
RUN gem list
# # Check for latest version here: https://nodejs.org/en
# ENV NODE_VERSIONS \
# 18.17.1
# # Download and install Node.js binaries for Linux
# RUN set -xe && \
# for VERSION in $NODE_VERSIONS; do \
# curl -fSsL "https://nodejs.org/dist/v$VERSION/node-v$VERSION-linux-x64.tar.gz" -o /tmp/node-$VERSION-linux-x64.tar.gz && \
# tar -xf /tmp/node-$VERSION-linux-x64.tar.gz -C /usr/local --strip-components=1 && \
# rm /tmp/node-$VERSION-linux-x64.tar.gz; \
# done
# # Check for latest version here: https://github.com/microsoft/TypeScript/releases
# ENV TYPESCRIPT_VERSIONS \
# 5.2.2
# RUN set -xe && \
# curl -fSsL "https://deb.nodesource.com/setup_18.x" | bash - && \
# apt-get update && \
# apt-get install -y --no-install-recommends nodejs && \
# rm -rf /var/lib/apt/lists/* && \
# for VERSION in $TYPESCRIPT_VERSIONS; do \
# npm install -g typescript@$VERSION; \
# done
RUN set -xe && \
apt-get update && \
apt-get install -y --no-install-recommends locales && \
rm -rf /var/lib/apt/lists/* && \
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
RUN set -xe && \
apt-get update && \
apt-get install -y --no-install-recommends git libcap-dev && \
rm -rf /var/lib/apt/lists/* && \
git clone https://github.com/judge0/isolate.git /tmp/isolate && \
cd /tmp/isolate && \
git checkout ad39cc4d0fbb577fb545910095c9da5ef8fc9a1a && \
make -j$(nproc) install && \
rm -rf /tmp/*
ENV BOX_ROOT /var/local/lib/isolate
LABEL maintainer="Herman Zvonimir Do拧ilovi膰 <hermanz.dosilovic@gmail.com>"
LABEL version="1.4.0"