Closed satra closed 2 years ago
@kaczmarj in case you want to update to apptainer fully here is the non-alpine version
FROM golang:1.17.7 as builder ARG VERSION="1.0.0" WORKDIR $GOPATH/src/github.com/apptainer RUN apt-get update && apt-get install -y \ build-essential \ uuid-dev \ libgpgme-dev \ squashfs-tools \ libseccomp-dev \ wget \ pkg-config \ git \ cryptsetup-bin RUN wget https://github.com/apptainer/apptainer/releases/download/v${VERSION}/apptainer-${VERSION}.tar.gz && \ tar -xzf apptainer-${VERSION}.tar.gz && \ cd apptainer-${VERSION} && \ ./mconfig --prefix=/opt/apptainer && \ make -C ./builddir && \ make -C ./builddir install FROM ubuntu USER root COPY --from=builder /opt/apptainer /opt/apptainer
thank you! i will update this repo accordingly.
@kaczmarj in case you want to update to apptainer fully here is the non-alpine version