Skip to content

[Feature:Autograding] Add dockerfile for Julia #65

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

Merged
merged 5 commits into from
Jun 3, 2025
Merged
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
33 changes: 33 additions & 0 deletions dockerfiles/julia/1.11.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
FROM ubuntu:22.04

RUN apt-get update
RUN apt-get install -y wget

ARG TARGETARCH

ARG TARGETARCH
RUN if [ "$TARGETARCH" = "amd64" ]; then \
echo "Setting up for amd64"; \
elif [ "$TARGETARCH" = "arm64" ]; then \
echo "Setting up for arm64"; \
fi

# x86
RUN if [ $TARGETARCH = "amd64" ]; then \
wget https://julialang-s3.julialang.org/bin/linux/x64/1.11/julia-1.11.5-linux-x86_64.tar.gz ; \
tar zxvf julia-1.11.1-linux-x86_64.tar.gz ; \
ln -s /julia-1.11.1/bin/julia /usr/bin/julia ; \
fi


# arm
RUN if [ $TARGETARCH = "arm64" ]; then \
wget https://julialang-s3.julialang.org/bin/linux/aarch64/1.11/julia-1.11.5-linux-aarch64.tar.gz ; \
tar zxvf julia-1.11.5-linux-aarch64.tar.gz ; \
ln -s /julia-1.11.5/bin/julia /usr/bin/julia ; \
fi

# for debugging system call filtering
RUN apt-get install -y strace

RUN rm -rf /var/lib/apt/lists/*
4 changes: 4 additions & 0 deletions dockerfiles/julia/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"pushLatest": true,
"latestTag": "1.11.5"
}