Skip to content

Commit 473a0e9

Browse files
authored
Merge pull request #134 from singularityhub/v4.1.4
V4.1.4
2 parents 09b0da9 + 1e1dd96 commit 473a0e9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Dockerfile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21.3-alpine as base
1+
FROM golang:1.21.10-alpine AS base
22

33
################################################################################
44
#
@@ -19,19 +19,19 @@ FROM golang:1.21.3-alpine as base
1919
#
2020
################################################################################
2121

22-
FROM docker:24.0.6-git as builder
22+
FROM docker:24.0.6-git AS builder
2323
COPY --from=base /go /go
2424
COPY --from=base /usr/local/go /usr/local/go
25-
ENV GOPATH /go
26-
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
27-
ENV GOLANG_VERSION 1.21.3
25+
ENV GOPATH=/go
26+
ENV PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
27+
ENV GOLANG_VERSION=1.21.10
2828

2929
RUN apk update && \
3030
apk add --virtual .build-deps autoconf automake build-base linux-headers libffi-dev
3131
RUN apk add --no-cache bash git openssh-client-default gcc squashfs-tools sudo libtool gawk ca-certificates libseccomp libseccomp-dev
3232
RUN apk add --no-cache linux-headers build-base openssl-dev util-linux util-linux-dev shadow-uidmap fuse3-dev python3 rsync cryptsetup glib-dev
3333

34-
ENV SINGULARITY_VERSION 4.1.0
34+
ENV SINGULARITY_VERSION=4.1.4
3535
RUN mkdir -p /usr/local/var/singularity/mnt && \
3636
mkdir -p $GOPATH/src/github.com/sylabs && \
3737
cd $GOPATH/src/github.com/sylabs && \
@@ -45,14 +45,14 @@ RUN mkdir -p /usr/local/var/singularity/mnt && \
4545
# See https://docs.docker.com/develop/develop-images/multistage-build/
4646
# for more information on multi-stage builds.
4747

48-
FROM docker:18.09.8
49-
LABEL Maintainer @vsoch
48+
FROM docker:24.0.6-git
49+
LABEL Maintainer=@vsoch
5050
COPY --from=builder /usr/local/singularity /usr/local/singularity
51-
RUN apk add --no-cache ca-certificates libseccomp squashfs-tools bash python rsync
51+
RUN apk add --no-cache ca-certificates libseccomp libseccomp-dev squashfs-tools bash python3 rsync
5252
ENV PATH="/usr/local/singularity/bin:$PATH"
5353

54-
ADD docker2singularity.sh /docker2singularity.sh
55-
ADD addLabel.py /addLabel.py
56-
ADD scripts /scripts
54+
COPY docker2singularity.sh /docker2singularity.sh
55+
COPY addLabel.py /addLabel.py
56+
COPY scripts /scripts
5757
RUN chmod a+x docker2singularity.sh
5858
ENTRYPOINT ["docker-entrypoint.sh", "/docker2singularity.sh"]

0 commit comments

Comments
 (0)