~emersion/#1375804

success

dockerfile: add build args to select Git refs

bb395e13ae — Simon Ser

Owner
~emersion
Created
a month ago
Updated
a month ago
Build manifest
view manifest »

Tasks

view log »
build view log »
deploy view log »
go to bottom »
go to top »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
[#1375804] 2024/11/26 19:46:42 Booting image archlinux (default) on port 22158
[#1375804] 2024/11/26 19:46:43 Waiting for guest to settle
[#1375804] 2024/11/26 19:46:51 Sending tasks
[#1375804] 2024/11/26 19:46:52 Sending build environment
[#1375804] 2024/11/26 19:46:52 Sending secrets
[#1375804] 2024/11/26 19:46:52 Resolving secret 106c7011-4e0e-4b33-a3f2-ffea55ce3f4b
[#1375804] 2024/11/26 19:46:53 Installing packages
Warning: Permanently added '[localhost]:22158' (ED25519) to the list of known hosts.
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
warning: archlinux-keyring-20241015-1 is up to date -- skipping
 there is nothing to do
Warning: Permanently added '[localhost]:22158' (ED25519) to the list of known hosts.
Resolving dependencies...
Checking package conflicts...
installing core/filesystem (2024.04.07-1 -> 2024.11.21-1)
installing core/systemd-libs (256.8-1 -> 256.8-2)
installing core/systemd (256.8-1 -> 256.8-2)
installing core/systemd-sysvcompat (256.8-1 -> 256.8-2)

Download Size:      9.62 M
Installed Size:    35.42 M
Size Delta:       937.00 B
Downloading packages...
(1/1) systemd-256.8-2-x86_64.pkg.tar.zst (0)
systemd-sysvcompat-256.8-2-x86_64.pkg.tar.zst (6209/6209) 100%
(2/4) systemd-libs-256.8-2-x86_64.pkg.tar.zst (310289/1158392) 26%
filesystem-2024.11.21-1-any.pkg.tar.zst (14842/14842) 100%
(3/4) systemd-sysvcompat-256.8-2-x86_64.pkg.tar.zst.sig (0)
systemd-libs-256.8-2-x86_64.pkg.tar.zst (1158392/1158392) 100%
(4/4) systemd-libs-256.8-2-x86_64.pkg.tar.zst.sig (0)
systemd-sysvcompat-256.8-2-x86_64.pkg.tar.zst.sig (119/119) 100%
(1/3) systemd-256.8-2-x86_64.pkg.tar.zst (6928784/8909952) 77%
filesystem-2024.11.21-1-any.pkg.tar.zst.sig (119/119) 100%
(2/2) systemd-libs-256.8-2-x86_64.pkg.tar.zst.sig (0)
systemd-libs-256.8-2-x86_64.pkg.tar.zst.sig (119/119) 100%
(1/1) systemd-256.8-2-x86_64.pkg.tar.zst (7481744/8909952) 83%
systemd-256.8-2-x86_64.pkg.tar.zst (8909952/8909952) 100%
(1/1) systemd-256.8-2-x86_64.pkg.tar.zst.sig (0)
systemd-256.8-2-x86_64.pkg.tar.zst.sig (119/119) 100%
checking keys in keyring (0/4) 0%
checking keys in keyring (1/4) 25%
checking keys in keyring (2/4) 50%
checking keys in keyring (3/4) 75%
checking keys in keyring (4/4) 100%
checking package integrity (0/4) 0%
checking package integrity (2/4) 11%
checking package integrity (3/4) 99%
checking package integrity (4/4) 100%
loading package files (0/4) 0%
loading package files (2/4) 11%
loading package files (3/4) 99%
loading package files (4/4) 100%
checking for file conflicts (0/4) 0%
checking for file conflicts (1/4) 25%
checking for file conflicts (2/4) 50%
checking for file conflicts (3/4) 75%
checking for file conflicts (4/4) 100%
Starting transaction...
upgrading filesystem (1/4) 0%
upgrading filesystem (1/4) 100%
upgrading systemd-libs (2/4) 0%
upgrading systemd-libs (2/4) 3%
upgrading systemd-libs (2/4) 5%
upgrading systemd-libs (2/4) 14%
upgrading systemd-libs (2/4) 22%
upgrading systemd-libs (2/4) 29%
upgrading systemd-libs (2/4) 39%
upgrading systemd-libs (2/4) 67%
upgrading systemd-libs (2/4) 70%
upgrading systemd-libs (2/4) 74%
upgrading systemd-libs (2/4) 78%
upgrading systemd-libs (2/4) 82%
upgrading systemd-libs (2/4) 87%
upgrading systemd-libs (2/4) 91%
upgrading systemd-libs (2/4) 96%
upgrading systemd-libs (2/4) 99%
upgrading systemd-libs (2/4) 100%
upgrading systemd (3/4) 0%
upgrading systemd (3/4) 1%
upgrading systemd (3/4) 2%
upgrading systemd (3/4) 3%
upgrading systemd (3/4) 4%
upgrading systemd (3/4) 5%
upgrading systemd (3/4) 6%
upgrading systemd (3/4) 7%
upgrading systemd (3/4) 8%
upgrading systemd (3/4) 11%
upgrading systemd (3/4) 12%
upgrading systemd (3/4) 13%
upgrading systemd (3/4) 15%
upgrading systemd (3/4) 16%
upgrading systemd (3/4) 18%
upgrading systemd (3/4) 19%
upgrading systemd (3/4) 20%
upgrading systemd (3/4) 21%
upgrading systemd (3/4) 22%
upgrading systemd (3/4) 29%
upgrading systemd (3/4) 47%
upgrading systemd (3/4) 48%
upgrading systemd (3/4) 49%
upgrading systemd (3/4) 50%
upgrading systemd (3/4) 51%
upgrading systemd (3/4) 52%
upgrading systemd (3/4) 53%
upgrading systemd (3/4) 54%
upgrading systemd (3/4) 55%
upgrading systemd (3/4) 61%
upgrading systemd (3/4) 62%
upgrading systemd (3/4) 63%
upgrading systemd (3/4) 66%
upgrading systemd (3/4) 67%
upgrading systemd (3/4) 68%
upgrading systemd (3/4) 73%
upgrading systemd (3/4) 74%
upgrading systemd (3/4) 77%
upgrading systemd (3/4) 80%
upgrading systemd (3/4) 81%
upgrading systemd (3/4) 82%
upgrading systemd (3/4) 84%
upgrading systemd (3/4) 85%
upgrading systemd (3/4) 86%
upgrading systemd (3/4) 88%
upgrading systemd (3/4) 89%
upgrading systemd (3/4) 90%
upgrading systemd (3/4) 92%
upgrading systemd (3/4) 93%
upgrading systemd (3/4) 94%
upgrading systemd (3/4) 95%
upgrading systemd (3/4) 97%
upgrading systemd (3/4) 98%
upgrading systemd (3/4) 99%
upgrading systemd (3/4) 100%
upgrading systemd-sysvcompat (4/4) 0%
upgrading systemd-sysvcompat (4/4) 100%
Running post-transaction hooks...
(1/10) Running 20-systemd-sysusers.hook (Creating system user accounts...)
(2/10) Running 30-systemd-catalog.hook (Updating journal message catalog...)
(3/10) Running 30-systemd-daemon-reload-system.hook (Reloading system manager configuration...)
(4/10) Running 30-systemd-daemon-reload-user.hook (Reloading user manager configuration...)
(5/10) Running 30-systemd-hwdb.hook (Updating udev hardware database...)
(6/10) Running 30-systemd-sysctl.hook (Applying kernel sysctl settings...)
(7/10) Running 30-systemd-tmpfiles.hook (Creating temporary files...)
(8/10) Running 30-systemd-udev-reload.hook (Reloading device manager configuration...)
(9/10) Running 30-systemd-update.hook (Arming ConditionNeedsUpdate...)
(10/10) Running dbus-reload.hook (Reloading system bus configuration...)
Warning: Permanently added '[localhost]:22158' (ED25519) to the list of known hosts.
Sync Explicit (1): podman-5.3.1-1
resolving dependencies...
:: There are 2 providers available for oci-runtime:
:: Repository extra
   1) crun  2) runc

Enter a number (default=1): 
looking for conflicting packages...

Packages (21) aardvark-dns-1.13.1-1  abseil-cpp-20240722.0-1  catatonit-0.2.0-3  conmon-1:2.1.12-1  containers-common-1:0.61.0-1  criu-4.0-1  crun-1.18.2-1  gtest-1.15.2-1  libbsd-0.12.2-2  libdrm-2.4.123-1  libmd-1.1.0-2  libnet-2:1.3-1  libpciaccess-0.18.1-2  netavark-1.13.0-1  nftables-1:1.1.1-1  passt-2024_11_21.238c69f-1  protobuf-28.3-1  protobuf-c-1.5.0-8  python-protobuf-28.3-1  yajl-2.1.0-6  podman-5.3.1-1

Total Download Size:    36.50 MiB
Total Installed Size:  134.16 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 podman-5.3.1-1-x86_64 downloading...
 netavark-1.13.0-1-x86_64 downloading...
 protobuf-28.3-1-x86_64 downloading...
 abseil-cpp-20240722.0-1-x86_64 downloading...
 aardvark-dns-1.13.1-1-x86_64 downloading...
 criu-4.0-1-x86_64 downloading...
 gtest-1.15.2-1-x86_64 downloading...
 python-protobuf-28.3-1-x86_64 downloading...
 nftables-1:1.1.1-1-x86_64 downloading...
 libdrm-2.4.123-1-x86_64 downloading...
 libnet-2:1.3-1-x86_64 downloading...
 catatonit-0.2.0-3-x86_64 downloading...
 crun-1.18.2-1-x86_64 downloading...
 passt-2024_11_21.238c69f-1-x86_64 downloading...
 libbsd-0.12.2-2-x86_64 downloading...
 protobuf-c-1.5.0-8-x86_64 downloading...
 containers-common-1:0.61.0-1-any downloading...
 yajl-2.1.0-6-x86_64 downloading...
 libmd-1.1.0-2-x86_64 downloading...
 conmon-1:2.1.12-1-x86_64 downloading...
 libpciaccess-0.18.1-2-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing catatonit...
installing conmon...
installing aardvark-dns...
installing netavark...
installing containers-common...
installing yajl...
installing libmd...
installing libbsd...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool
installing libnet...
installing nftables...
Optional dependencies for nftables
    python: Python bindings [installed]
installing gtest...
Optional dependencies for gtest
    python: gmock generator [installed]
installing abseil-cpp...
installing protobuf...
installing protobuf-c...
installing python-protobuf...
installing criu...
installing crun...
installing passt...
Optional dependencies for passt
    sh: for demo script [installed]
installing podman...
Optional dependencies for podman
    apparmor: for AppArmor support
    btrfs-progs: support btrfs backend devices
    cni-plugins: for an alternative container-network-stack implementation
    fuse-overlayfs: for storage driver in rootless environment
    slirp4netns: for alternative rootless network support
    podman-compose: for docker-compose compatibility
    podman-docker: for Docker-compatible CLI
:: Running post-transaction hooks...
(1/4) Reloading system manager configuration...
(2/4) Reloading user manager configuration...
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
[#1375804] 2024/11/26 19:46:59 Cloning repositories
Cloning into 'soju-containers'...
+ cd soju-containers
+ git checkout -q bb395e13ae686fb0c11619bea73c34b15c8f8d42
+ cd soju-containers
+ git submodule update --init --recursive
[#1375804] 2024/11/26 19:47:00 Running task build
[#1375804] 2024/11/26 19:48:58 Running task deploy
build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
+ cd soju-containers
+ platforms=linux/amd64,linux/arm64
+ podman build --platform linux/amd64,linux/arm64 --target soju --manifest soju .
[linux/arm64] [1/4] STEP 1/7: FROM --platform=linux/amd64 docker.io/library/golang:alpine AS soju-build
Trying to pull docker.io/library/golang:alpine...
Getting image source signatures
Copying blob sha256:5418e60db87de98b06e455a400579c7f27106374f3450aef2951989cf6c7f536
Copying blob sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Copying blob sha256:c79bddf330f7de2b96b69740174bc7152350ef81439db2dfa776fc3a9365dc80
Copying blob sha256:f115f9222c8e1a0a23300412608c2f4a3d45a6a471af693ed24f073d76d9f288
Copying blob sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f
Copying config sha256:98069ee7ef5d97727559513880f76a2de6a1656a51f3685e074309a1b14f7718
Writing manifest to image destination
[linux/arm64] [1/4] STEP 2/7: RUN --mount=type=cache,target=/var/cache/apk 	apk -U add build-base ca-certificates tzdata
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/22) Installing libgcc (13.2.1_git20240309-r0)
(2/22) Installing jansson (2.14-r4)
(3/22) Installing libstdc++ (13.2.1_git20240309-r0)
(4/22) Installing zstd-libs (1.5.6-r0)
(5/22) Installing binutils (2.42-r0)
(6/22) Installing libmagic (5.45-r1)
(7/22) Installing file (5.45-r1)
(8/22) Installing libgomp (13.2.1_git20240309-r0)
(9/22) Installing libatomic (13.2.1_git20240309-r0)
(10/22) Installing gmp (6.3.0-r1)
(11/22) Installing isl26 (0.26-r1)
(12/22) Installing mpfr4 (4.2.1-r0)
(13/22) Installing mpc1 (1.3.1-r1)
(14/22) Installing gcc (13.2.1_git20240309-r0)
(15/22) Installing libstdc++-dev (13.2.1_git20240309-r0)
(16/22) Installing musl-dev (1.2.5-r0)
(17/22) Installing g++ (13.2.1_git20240309-r0)
(18/22) Installing make (4.4.1-r2)
(19/22) Installing fortify-headers (1.1-r3)
(20/22) Installing patch (2.7.6-r10)
(21/22) Installing build-base (0.5-r3)
(22/22) Installing tzdata (2024b-r0)
Executing busybox-1.36.1-r29.trigger
OK: 226 MiB in 37 packages
--> c58b35a2d1c9
[linux/arm64] [1/4] STEP 3/7: ARG SOJU_REF=master
--> ed43a8610f87
[linux/arm64] [1/4] STEP 4/7: ADD https://codeberg.org/emersion/soju.git#${SOJU_REF} /src/
--> df0b343c4ace
[linux/arm64] [1/4] STEP 5/7: WORKDIR /src
--> 25783c4c694a
[linux/arm64] [1/4] STEP 6/7: ARG TARGETOS TARGETARCH TARGETPLATFORM BUILDPLATFORM
--> f032df844e91
[linux/arm64] [1/4] STEP 7/7: RUN --mount=type=cache,target=/root/.cache/go-build 	--mount=type=cache,target=/root/go/pkg/mod 	<<EOF (if [ "$TARGETPLATFORM" = "$BUILDPLATFORM" ]; then...)
go: downloading gopkg.in/irc.v4 v4.0.0
go: downloading golang.org/x/crypto v0.29.0
go: downloading git.sr.ht/~emersion/go-scfg v0.0.0-20240128091534-2ae16e782082
go: downloading github.com/pires/go-proxyproto v0.8.0
go: downloading github.com/prometheus/client_golang v1.20.5
go: downloading github.com/lib/pq v1.10.9
go: downloading modernc.org/sqlite v1.34.1
go: downloading golang.org/x/term v0.26.0
go: downloading golang.org/x/time v0.8.0
go: downloading github.com/SherClockHolmes/webpush-go v1.3.0
go: downloading github.com/coder/websocket v1.8.12
go: downloading github.com/emersion/go-sasl v0.0.0-20241020182733-b788ff22d5a6
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/client_model v0.6.1
go: downloading github.com/prometheus/common v0.59.1
go: downloading github.com/prometheus/procfs v0.15.1
go: downloading google.golang.org/protobuf v1.34.2
go: downloading github.com/klauspost/compress v1.17.9
go: downloading golang.org/x/sys v0.27.0
go: downloading git.sr.ht/~sircmpwn/go-bare v0.0.0-20210406120253-ab86bc2846d9
go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading modernc.org/libc v1.61.0
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading golang.org/x/exp v0.0.0-20231108232855-2478ac86f678
go: downloading modernc.org/mathutil v1.6.0
go: downloading modernc.org/memory v1.8.0
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
--> 0f634dffecea
[linux/amd64] [1/4] STEP 1/7: FROM --platform=linux/amd64 docker.io/library/golang:alpine AS soju-build
[linux/amd64] [1/4] STEP 2/7: RUN --mount=type=cache,target=/var/cache/apk 	apk -U add build-base ca-certificates tzdata
--> Using cache c58b35a2d1c96501d1bf1fd7e6a03456489e14a9b28fb86a45b8902a64b62fc2
--> c58b35a2d1c9
[linux/amd64] [1/4] STEP 3/7: ARG SOJU_REF=master
--> Using cache ed43a8610f876ef6d23c93ce2e1d6b9ce4c47d253a3add619926667d6e0bb6cb
--> ed43a8610f87
[linux/amd64] [1/4] STEP 4/7: ADD https://codeberg.org/emersion/soju.git#${SOJU_REF} /src/
--> 3ce2185e82b3
[linux/amd64] [1/4] STEP 5/7: WORKDIR /src
--> f822bbe56e54
[linux/amd64] [1/4] STEP 6/7: ARG TARGETOS TARGETARCH TARGETPLATFORM BUILDPLATFORM
--> 3d25c16969a0
[linux/amd64] [1/4] STEP 7/7: RUN --mount=type=cache,target=/root/.cache/go-build 	--mount=type=cache,target=/root/go/pkg/mod 	<<EOF (if [ "$TARGETPLATFORM" = "$BUILDPLATFORM" ]; then...)
go: downloading gopkg.in/irc.v4 v4.0.0
go: downloading golang.org/x/crypto v0.29.0
go: downloading git.sr.ht/~emersion/go-scfg v0.0.0-20240128091534-2ae16e782082
go: downloading github.com/pires/go-proxyproto v0.8.0
go: downloading github.com/prometheus/client_golang v1.20.5
go: downloading git.sr.ht/~emersion/go-sqlite3-fts5 v0.0.0-20240124102820-f3a72e8b79b1
go: downloading github.com/lib/pq v1.10.9
go: downloading github.com/mattn/go-sqlite3 v1.14.24
go: downloading golang.org/x/time v0.8.0
go: downloading github.com/SherClockHolmes/webpush-go v1.3.0
go: downloading github.com/coder/websocket v1.8.12
go: downloading github.com/emersion/go-sasl v0.0.0-20241020182733-b788ff22d5a6
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/client_model v0.6.1
go: downloading github.com/prometheus/common v0.59.1
go: downloading github.com/prometheus/procfs v0.15.1
go: downloading google.golang.org/protobuf v1.34.2
go: downloading github.com/klauspost/compress v1.17.9
go: downloading golang.org/x/term v0.26.0
go: downloading git.sr.ht/~sircmpwn/go-bare v0.0.0-20210406120253-ab86bc2846d9
go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading golang.org/x/sys v0.27.0
--> c03dd91bfbaf
[linux/arm64] [4/4] STEP 1/7: FROM scratch AS soju
[linux/arm64] [4/4] STEP 2/7: COPY --from=soju-build /src/soju /src/sojudb /src/sojuctl /
--> 2fa701f6ad7a
[linux/arm64] [4/4] STEP 3/7: COPY --from=soju-build /usr/share/zoneinfo /usr/share/zoneinfo
--> 549b3b819bcb
[linux/arm64] [4/4] STEP 4/7: COPY --from=soju-build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
--> ec3cbde89c2b
[linux/arm64] [4/4] STEP 5/7: ENV PATH=/
--> 583d1efa190a
[linux/arm64] [4/4] STEP 6/7: ENTRYPOINT ["soju"]
--> fd72f2239143
[linux/arm64] [4/4] STEP 7/7: HEALTHCHECK CMD ["sojuctl", "help"]
[linux/arm64] [4/4] COMMIT
time="2024-11-26T19:48:29Z" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> e319c0de1978
[linux/amd64] [4/4] STEP 1/7: FROM scratch AS soju
[linux/amd64] [4/4] STEP 2/7: COPY --from=soju-build /src/soju /src/sojudb /src/sojuctl /
e319c0de19781ab2d77f436b5b6673618d258c7fd58650de16ce1d6647ee74ca
--> 8c280e2ff256
[linux/amd64] [4/4] STEP 3/7: COPY --from=soju-build /usr/share/zoneinfo /usr/share/zoneinfo
--> b1899eaa5293
[linux/amd64] [4/4] STEP 4/7: COPY --from=soju-build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
--> c98834185744
[linux/amd64] [4/4] STEP 5/7: ENV PATH=/
--> 2478023ed252
[linux/amd64] [4/4] STEP 6/7: ENTRYPOINT ["soju"]
--> 6a6d9430b0cb
[linux/amd64] [4/4] STEP 7/7: HEALTHCHECK CMD ["sojuctl", "help"]
[linux/amd64] [4/4] COMMIT
time="2024-11-26T19:48:30Z" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> b8e1e6241e6f
b8e1e6241e6f86b8da83da4a6f7921f87dc457850a512600ec8bf9456cd14d96
+ podman build --platform linux/amd64,linux/arm64 --target gamja --manifest gamja .
[linux/arm64] [2/5] STEP 1/6: FROM --platform=linux/amd64 docker.io/library/golang:alpine AS kimchi-build
[linux/arm64] [2/5] STEP 2/6: ARG KIMCHI_REF=master
--> 752a513bf9b0
[linux/arm64] [2/5] STEP 3/6: ADD https://codeberg.org/emersion/kimchi.git#${KIMCHI_REF} /src/
--> 725a656820ec
[linux/arm64] [2/5] STEP 4/6: WORKDIR /src
--> 581185e57b2d
[linux/arm64] [2/5] STEP 5/6: ARG TARGETOS TARGETARCH
--> 375862175715
[linux/arm64] [2/5] STEP 6/6: RUN --mount=type=cache,target=/root/.cache/go-build 	--mount=type=cache,target=/root/go/pkg/mod 	GOOS=$TARGETOS GOARCH=$TARGETARCH go build
go: downloading github.com/pires/go-proxyproto v0.7.0
go: downloading git.sr.ht/~emersion/go-scfg v0.0.0-20240128091534-2ae16e782082
go: downloading golang.org/x/net v0.22.0
go: downloading golang.org/x/text v0.14.0
--> 71dce1bf7d11
[linux/arm64] [3/5] STEP 1/5: FROM --platform=linux/amd64 docker.io/library/node:alpine AS gamja-build
Trying to pull docker.io/library/node:alpine...
Getting image source signatures
Copying blob sha256:994a4e68db482c4b364acf0807d7c617b61c25796530d1a5e581b2c1ac6ca667
Copying blob sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f
Copying blob sha256:1a87d5cecb08a6ee4196c8920ce878cad30bd2ff817d920078228b404251925a
Copying blob sha256:7b49ec57ee43f3db835d6ca1d0ee8bfd4478ee5dc546a694f6dffd2b56712d84
Copying config sha256:3bce6930aaa09e9ac547fc2631d97ec11e43a03d1a70c6a7470894bf6443947a
Writing manifest to image destination
[linux/arm64] [3/5] STEP 2/5: ARG GAMJA_REF=master
--> 1050822bd002
[linux/arm64] [3/5] STEP 3/5: ADD https://codeberg.org/emersion/gamja.git#${GAMJA_REF} /src/
--> 9af173fdc96e
[linux/arm64] [3/5] STEP 4/5: WORKDIR /src
--> 6dc00a2e4567
[linux/arm64] [3/5] STEP 5/5: RUN --mount=type=cache,target=/src/node_modules 	--mount=type=cache,target=/src/.parcel-cache 	npm install --include=dev && npm run build
(node:2) ExperimentalWarning: CommonJS module /usr/local/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/local/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

added 249 packages, and audited 250 packages in 5s

110 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (1 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm notice
npm notice New patch version of npm available! 10.9.0 -> 10.9.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.1
npm notice To update run: npm install -g npm@10.9.1
npm notice

> build
> parcel build

78Building...
Bundling...
Packaging & Optimizing...
✨ Built in 917ms

dist/index.html                  574 B    109ms
dist/manifest.webmanifest         99 B     81ms
dist/index.953868ce.css        10.4 kB     89ms
dist/index.afc56e36.js       149.37 kB    249ms
--> ed222efaa81d
[linux/amd64] [2/5] STEP 1/6: FROM --platform=linux/amd64 docker.io/library/golang:alpine AS kimchi-build
[linux/amd64] [2/5] STEP 2/6: ARG KIMCHI_REF=master
--> Using cache 752a513bf9b0fada9101d6ee2847e033c5a7a7e643dfae3a3180cf274432a498
--> 752a513bf9b0
[linux/amd64] [2/5] STEP 3/6: ADD https://codeberg.org/emersion/kimchi.git#${KIMCHI_REF} /src/
--> 77f13fe31f51
[linux/amd64] [2/5] STEP 4/6: WORKDIR /src
--> 6f0a61d3c661
[linux/amd64] [2/5] STEP 5/6: ARG TARGETOS TARGETARCH
--> 2ee2cf94f527
[linux/amd64] [2/5] STEP 6/6: RUN --mount=type=cache,target=/root/.cache/go-build 	--mount=type=cache,target=/root/go/pkg/mod 	GOOS=$TARGETOS GOARCH=$TARGETARCH go build
go: downloading git.sr.ht/~emersion/go-scfg v0.0.0-20240128091534-2ae16e782082
go: downloading github.com/pires/go-proxyproto v0.7.0
go: downloading golang.org/x/net v0.22.0
go: downloading golang.org/x/text v0.14.0
--> c5f657df4c42
[linux/arm64] [5/5] STEP 1/5: FROM scratch AS gamja
[linux/arm64] [5/5] STEP 2/5: COPY --from=kimchi-build /src/kimchi /kimchi
--> 2910583c8e77
[linux/arm64] [5/5] STEP 3/5: COPY --from=gamja-build /src/dist /gamja
--> 724941ba4846
[linux/arm64] [5/5] STEP 4/5: ADD kimchi-config /kimchi-config
--> 7d2bfdeee86f
[linux/arm64] [5/5] STEP 5/5: CMD ["/kimchi", "-config", "/kimchi-config"]
[linux/arm64] [5/5] COMMIT
--> 4a9f1199e624
[linux/amd64] [3/5] STEP 1/5: FROM --platform=linux/amd64 docker.io/library/node:alpine AS gamja-build
4a9f1199e6246af82f73d7105227d8938e9cbdc80137c9e1b4ea7cfbb01d0ce1
[linux/amd64] [3/5] STEP 2/5: ARG GAMJA_REF=master
--> Using cache 1050822bd0029c0868ae377fc41c2ef3e2f2f0166a3ef1906b8b3b8e8cb39be1
--> 1050822bd002
[linux/amd64] [3/5] STEP 3/5: ADD https://codeberg.org/emersion/gamja.git#${GAMJA_REF} /src/
--> eb86815e0bac
[linux/amd64] [3/5] STEP 4/5: WORKDIR /src
--> 1778265474cf
[linux/amd64] [3/5] STEP 5/5: RUN --mount=type=cache,target=/src/node_modules 	--mount=type=cache,target=/src/.parcel-cache 	npm install --include=dev && npm run build
(node:2) ExperimentalWarning: CommonJS module /usr/local/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/local/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

up to date, audited 250 packages in 881ms

110 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (1 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm notice
npm notice New patch version of npm available! 10.9.0 -> 10.9.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.1
npm notice To update run: npm install -g npm@10.9.1
npm notice

> build
> parcel build

78Building...
Bundling...
✨ Built in 630ms

dist/index.html                  574 B    109ms
dist/manifest.webmanifest         99 B     81ms
dist/index.953868ce.css        10.4 kB     89ms
dist/index.afc56e36.js       149.37 kB    249ms
--> ebd5ab1d3335
[linux/amd64] [5/5] STEP 1/5: FROM scratch AS gamja
[linux/amd64] [5/5] STEP 2/5: COPY --from=kimchi-build /src/kimchi /kimchi
--> 90a4beb08c39
[linux/amd64] [5/5] STEP 3/5: COPY --from=gamja-build /src/dist /gamja
--> 1150a05b0aac
[linux/amd64] [5/5] STEP 4/5: ADD kimchi-config /kimchi-config
--> 83dea1381bfa
[linux/amd64] [5/5] STEP 5/5: CMD ["/kimchi", "-config", "/kimchi-config"]
[linux/amd64] [5/5] COMMIT
--> 716a672697d7
716a672697d7e9cd8ec7db937d5d91c3b23d7856b30b761f330d2cb3e3f62e1e
deploy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
+ cd soju-containers
++ git rev-parse HEAD
++ git rev-parse origin/master
+ '[' bb395e13ae686fb0c11619bea73c34b15c8f8d42 = bb395e13ae686fb0c11619bea73c34b15c8f8d42 ']'
+ podman login codeberg.org --username emersion --password-stdin
Login Succeeded!
+ podman manifest push soju codeberg.org/emersion/soju
Getting image list signatures
Copying 2 images generated from 2 images in list
Copying image sha256:2121908c3390c9ae1bb78bb2d54ea71849b22baf9883997d0c97b179d07209cc (1/2)
Getting image source signatures
Copying blob sha256:9e32e0e33675ad6c7b2a561f47b620acb54466a02df8d99b2a6859eb2c55216d
Copying blob sha256:b136b6749a4ef2fb24c4fc92c12c9d4cedb83a1080c3cb357119d36c262e751f
Copying blob sha256:9368c0b58e6b2eec984f37d4f94776000936b8cbf74e71b821ed448cefb6d92a
Copying config sha256:e319c0de19781ab2d77f436b5b6673618d258c7fd58650de16ce1d6647ee74ca
Writing manifest to image destination
Copying image sha256:ac8ec5986ef041b1b279b9218a58871dee0cd18edc018e4cd43aa050061d01f3 (2/2)
Getting image source signatures
Copying blob sha256:6fbeca76b4bb93e41a36fcdee1d1d77695eab65d9c8ac2bafd4f680a723a1e43
Copying blob sha256:71ecf9acd9e41c59cb793204d1ecc0e85911d8fe4ae6dee543a0271daa768b0d
Copying blob sha256:ab65198e97ab48eeeef79333d11291e44576825e5270b6df59d913df474e894c
Copying config sha256:b8e1e6241e6f86b8da83da4a6f7921f87dc457850a512600ec8bf9456cd14d96
Writing manifest to image destination
Writing manifest list to image destination
Storing list signatures
+ podman manifest push gamja codeberg.org/emersion/gamja
Getting image list signatures
Copying 2 images generated from 2 images in list
Copying image sha256:232f81766fd84e6df929066ae48b2bb6be86bd384000c20d9509c08d09ff850c (1/2)
Getting image source signatures
Copying blob sha256:6f3ec90ee8d1d92326d7ea4b18dbf2f486ec59e50ba29751c9a3d79b95690a5c
Copying blob sha256:e135060a58580cf1741557f357dc23b7408cb668a3b2c82809a63bfb5fd35b42
Copying blob sha256:bd014e54385233c3b5bb3e07663188e565ebfafd5b90f39665c81592183ab96b
Copying config sha256:4a9f1199e6246af82f73d7105227d8938e9cbdc80137c9e1b4ea7cfbb01d0ce1
Writing manifest to image destination
Copying image sha256:7e656df381e045b7b06136ac8ca1166f856093e8f2eee3d867d62c62e4069cf2 (2/2)
Getting image source signatures
Copying blob sha256:6f3ec90ee8d1d92326d7ea4b18dbf2f486ec59e50ba29751c9a3d79b95690a5c
Copying blob sha256:78529ab135cb3c68e06ae13e1029b4dae32fb7695fdf78bc43dcf1de0b3510d2
Copying blob sha256:466cbf940d9adf858ca7358932b58e67d9e4dc93c1a319542d45ec3fcda9ab15
Copying config sha256:716a672697d7e9cd8ec7db937d5d91c3b23d7856b30b761f330d2cb3e3f62e1e
Writing manifest to image destination
Writing manifest list to image destination
Storing list signatures
Build complete: success a month ago (took 2 minutes)