Skip to content
Snippets Groups Projects
Commit 57439485 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

chore: updated go-1.20.5, singularity-3.11.4, docker-23(.0.6)

parent 5b3c4dca
No related branches found
No related tags found
1 merge request!630chore: updated go-1.20.5, singularity-3.11.4, docker-23(.0.6)
...@@ -17,6 +17,7 @@ RUN apt-get update && \ ...@@ -17,6 +17,7 @@ RUN apt-get update && \
gettext \ gettext \
git \ git \
iptables \ iptables \
libglib2.0-dev \
libgpgme11-dev \ libgpgme11-dev \
libseccomp-dev \ libseccomp-dev \
libssl-dev \ libssl-dev \
...@@ -29,28 +30,33 @@ RUN apt-get update && \ ...@@ -29,28 +30,33 @@ RUN apt-get update && \
squashfs-tools \ squashfs-tools \
wget wget
RUN cd /tmp \ # Install Go
&& export VERSION=1.15.6 OS=linux ARCH=amd64 && \ ARG GO_OS=linux
wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz && \ ARG GO_ARCH=amd64
tar -C /usr/local -xzvf go$VERSION.$OS-$ARCH.tar.gz && \ ARG GO_VERSION=1.20.5
rm go$VERSION.$OS-$ARCH.tar.gz ARG GO_URL=https://dl.google.com/go/go${GO_VERSION}.${GO_OS}-${GO_ARCH}.tar.gz
RUN curl -L ${GO_URL} | tar -C /usr/local -xzvf -
RUN cd /tmp \ # Install Singularity CE
&& export PATH=/usr/local/go/bin:$PATH \ ARG SINGULARITY_VERSION=3.11.4
&& export VERSION=3.7.4 && \ ARG SINGULARITY_URL=https://github.com/sylabs/singularity/releases/download/v${SINGULARITY_VERSION}/singularity-ce-${SINGULARITY_VERSION}.tar.gz
wget https://github.com/sylabs/singularity/releases/download/v${VERSION}/singularity-${VERSION}.tar.gz && \ RUN curl -L ${SINGULARITY_URL} | tar -C /tmp -xzf - \
tar -xzf singularity-${VERSION}.tar.gz && \ && cd /tmp/singularity-ce-${SINGULARITY_VERSION} \
cd singularity \ && export PATH=/usr/local/go/bin:$PATH \
&& ./mconfig && \ && ./mconfig \
make -C builddir && \ && make -C builddir \
make -C builddir install && make -C builddir install \
&& rm -rf /tmp/singularity-ce-${SINGULARITY_VERSION}
# Install Docker from Docker Inc. repositories. # Install Docker
RUN export VERSION=20.10.17 \ ARG DOCKER_VERSION=24
&& curl -sSL https://get.docker.com/ | sh ADD https://get.docker.com/ /tmp/get-docker.sh
# Install the magic wrapper. RUN bash /tmp/get-docker.sh --version ${DOCKER_VERSION}
# Install the magic wrapper.
ADD ./wrapdocker /usr/local/bin/wrapdocker ADD ./wrapdocker /usr/local/bin/wrapdocker
RUN chmod +x /usr/local/bin/wrapdocker RUN chmod +x /usr/local/bin/wrapdocker
# Define additional metadata for our image.
# Define additional metadata for our image.
VOLUME /var/lib/docker VOLUME /var/lib/docker
CMD ["wrapdocker"] CMD ["wrapdocker"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment