File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 12
12
- uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
13
13
- name : Build the Docker image
14
14
run : docker build . --file containers/Dockerfile.EESSI-client-rocky8
15
+ test-build-container :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
19
+ - name : Build the Docker image
20
+ run : docker build . --file containers/Dockerfile.EESSI-build-node-debian11
Original file line number Diff line number Diff line change 1
1
ARG cvmfsversion=2.13.0
2
2
ARG awscliversion=1.32.22
3
3
ARG fuseoverlayfsversion=1.10
4
+ ARG bwrapversion=0.11.0
4
5
5
6
FROM debian:11.7 AS prepare-deb
6
7
ARG cvmfsversion
@@ -12,6 +13,7 @@ FROM debian:11.5
12
13
ARG cvmfsversion
13
14
ARG awscliversion
14
15
ARG fuseoverlayfsversion
16
+ ARG bwrapversion
15
17
16
18
COPY --from=prepare-deb /root/deb /root/deb
17
19
@@ -39,3 +41,19 @@ RUN useradd -ms /bin/bash eessi
39
41
40
42
# stick to awscli v1.x, 2.x is not available through PyPI (see https://github.com/aws/aws-cli/issues/4947)
41
43
RUN pip3 install archspec awscli==${awscliversion}
44
+
45
+ # build + install bwrap from source
46
+ RUN apt-get install -y libcap-dev meson ninja-build pkg-config \
47
+ && curl -OL https://github.com/containers/bubblewrap/releases/download/v${bwrapversion}/bubblewrap-${bwrapversion}.tar.xz \
48
+ && tar xvf bubblewrap-${bwrapversion}.tar.xz \
49
+ && cd bubblewrap-${bwrapversion} \
50
+ && meson setup _build \
51
+ && meson compile -C _build \
52
+ && meson test -C _build \
53
+ && meson install -C _build \
54
+ && which bwrap \
55
+ && bwrap --version \
56
+ && bwrap --help \
57
+ && cd .. \
58
+ && rm -r bubblewrap-${bwrapversion} \
59
+ && apt-get remove -y libcap-dev meson ninja-build pkg-config
You can’t perform that action at this time.
0 commit comments