File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
src/dockerfiles/ubuntu-2204-lts Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,13 @@ jobs:
26
26
attestations : write
27
27
id-token : write
28
28
strategy :
29
- fail-fast : false
29
+ fail-fast : true
30
30
matrix :
31
31
image :
32
32
- ubuntu-2204-lts
33
+ gap-build :
34
+ - full
35
+ - slim
33
36
gap-version :
34
37
- 4.13.1
35
38
- 4.13.0
85
88
cache-to : type=gha,mode=max`
86
89
build-args : |
87
90
PLATFORM=${{ matrix.platform }}
91
+ GAP_BUILD=${{ matrix.gap-build }}
88
92
GAP_VERSION=${{ matrix.gap-version }}
Original file line number Diff line number Diff line change 1
1
ARG PLATFORM="linux/arm64"
2
2
3
3
# # {{{
4
+ ARG GAP_BUILD="slim"
4
5
ARG GAP_VERSION="4.13.1"
5
6
# # }}}
6
7
@@ -38,6 +39,7 @@ RUN groupadd --system --gid ${GAP_USER_GID} ${GAP_USER_GROUPNAME} && \
38
39
39
40
40
41
FROM base AS build
42
+ ARG GAP_BUILD
41
43
ARG GAP_VERSION
42
44
ARG GAP_DOWNLOAD_URL
43
45
ARG GAP_DOWNLOAD_TARBALL_NAME
@@ -73,6 +75,8 @@ WORKDIR "./gap-${GAP_VERSION}"
73
75
RUN ./configure && \
74
76
MAKEFLAGS=-j8 make
75
77
78
+ RUN [[ ${GAP_BUILD} == "slim" ]] || cd ./pkg/ && ../bin/BuildPackages.sh
79
+
76
80
FROM base AS result
77
81
ARG GAP_VERSION
78
82
ARG GAP_USER_HOMEDIR
You can’t perform that action at this time.
0 commit comments