Skip to content

Commit f24e7a4

Browse files
authored
[Feature:Autograding] add image for gcc 11 (#60)
### What is the new behavior? add dockerfile for gcc/g++ 11 --------- Co-authored-by: Barb Cutler <Barb Cutler>
1 parent 8b3a205 commit f24e7a4

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

dockerfiles/gcc/11/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM ubuntu:22.04
2+
3+
# installing requirements to get and extract prebuilt binaries
4+
RUN apt-get update
5+
RUN apt-get install -y gcc-11 g++-11
6+
RUN rm -rf /var/lib/apt/lists/*
7+
8+
# symlinks
9+
RUN ln -s /usr/bin/aarch64-linux-gnu-gcc-11 /usr/bin/gcc
10+
RUN ln -s /usr/bin/aarch64-linux-gnu-g++-11 /usr/bin/g++

dockerfiles/gcc/metadata.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"pushLatest": true,
3+
"latestTag": "11"
4+
}

0 commit comments

Comments
 (0)