Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download latest version of Zig #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tier2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ RUN apt-get update && \
( \
apt-get install -y --no-install-recommends make m4 patch unzip libgmp-dev && \
bash -c 'echo | sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --no-backup' && \
runuser -u judge -- opam init --shell-setup --disable-sandboxing && \
runuser -u judge -- opam install -y base core stdio zarith && \
runuser -u judge -- opam init --shell-setup --disable-sandboxing -j$(nproc) && \
runuser -u judge -- opam install -y -j$(nproc) base core stdio zarith && \
runuser -u judge -- opam clean && rm -rf ~judge/.opam/repo \
) && \
mkdir /opt/pypy2 && curl -L "$(curl https://www.pypy.org/download.html | grep /pypy2 | head -n1 | cut -d'"' -f4)" | \
Expand Down
2 changes: 1 addition & 1 deletion tier3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ RUN curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - &
curl -L -otprolog.zip "https://github.com/yingted/OpenTuring/releases/download/v1.0.0-beta/tprolog-v1.0.0-beta.zip" && \
unzip tprolog.zip && mv tprolog /opt && rm tprolog.zip && \
mkdir /opt/zig && \
curl "https://ziglang.org/download/0.6.0/zig-linux-x86_64-0.6.0.tar.xz" | tar xJ -C /opt/zig --strip-components=1
curl "$(curl -sSL https://ziglang.org/download/ | perl -ne 'print "$1\n" if /=([^=]+?zig-linux-x86_64-[\d.]+\.tar\.xz)/')" | tar xJ -C /opt/zig --strip-components=1

ENV PATH "/opt/tprolog:/opt/groovy/bin:/opt/kotlin/bin:${PATH}:/opt/swift/usr/bin:/opt/zig"