1- FROM golang:1.21 .3-alpine as builder
1+ FROM golang:1.24 .3-alpine as builder
22
33# ###############################################################################
44#
5- # Copyright (C) 2019-2024 Vanessa Sochat.
5+ # Copyright (C) 2019-2025 Vanessa Sochat.
66#
77# This program is free software: you can redistribute it and/or modify it
88# under the terms of the GNU Affero General Public License as published by
@@ -24,10 +24,10 @@ FROM golang:1.21.3-alpine as builder
2424RUN apk update && \
2525 apk add --virtual .build-deps autoconf automake build-base linux-headers libffi-dev
2626RUN apk add --no-cache bash git openssh gcc squashfs-tools sudo libtool gawk cryptsetup glib-dev tzdata bash glib-dev
27- RUN apk add --no-cache linux-headers build-base openssl-dev util-linux util-linux-dev shadow-uidmap libseccomp-dev fuse3-dev
27+ RUN apk add --no-cache linux-headers build-base openssl-dev util-linux util-linux-dev shadow-uidmap shadow-subids shadow-dev libseccomp-dev fuse3-dev
2828
29- ENV SINGULARITY_VERSION=4.1.0
30- LABEL Maintainer @vsoch
29+ ENV SINGULARITY_VERSION=4.3.1
30+ LABEL Maintainer= " @vsoch"
3131RUN mkdir -p /usr/local/var/singularity/mnt && \
3232 mkdir -p $GOPATH/src/github.com/sylabs && \
3333 cd $GOPATH/src/github.com/sylabs && \
@@ -40,8 +40,8 @@ RUN mkdir -p /usr/local/var/singularity/mnt && \
4040
4141# See https://docs.docker.com/develop/develop-images/multistage-build/
4242# for more information on multi-stage builds.
43- FROM alpine:3.10
44- LABEL Maintainer @vsoch
43+ FROM alpine:3.21
44+ LABEL Maintainer= " @vsoch"
4545COPY --from=builder /usr/local/singularity /usr/local/singularity
4646RUN apk add --no-cache ca-certificates libseccomp squashfs-tools tzdata bash && \
4747 cp /usr/share/zoneinfo/UTC /etc/localtime
0 commit comments