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:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1
Copying blob sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f
Copying blob sha256:5418e60db87de98b06e455a400579c7f27106374f3450aef2951989cf6c7f536
Copying blob sha256:c79bddf330f7de2b96b69740174bc7152350ef81439db2dfa776fc3a9365dc80
Copying blob sha256:f115f9222c8e1a0a23300412608c2f4a3d45a6a471af693ed24f073d76d9f288
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
--> d30665b1c0d2
[linux/arm64] [1/4] STEP 3/7: ARG SOJU_REF=master
--> 728abd13daf6
[linux/arm64] [1/4] STEP 4/7: ADD https://codeberg.org/emersion/soju.git#${SOJU_REF} /src/
--> 6b4d0395d6d3
[linux/arm64] [1/4] STEP 5/7: WORKDIR /src
--> 3a85a5b3f4d1
[linux/arm64] [1/4] STEP 6/7: ARG TARGETOS TARGETARCH TARGETPLATFORM BUILDPLATFORM
--> a6c22a5b982d
[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
--> cb99dc076c38
[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 d30665b1c0d23e6f22e14be13801587a271411749d40d9dfa2a04df1a65d0e3d
--> d30665b1c0d2
[linux/amd64] [1/4] STEP 3/7: ARG SOJU_REF=master
--> Using cache 728abd13daf6b96d7d00f16dc92d7f4675e09684575533d41fb1568d99706587
--> 728abd13daf6
[linux/amd64] [1/4] STEP 4/7: ADD https://codeberg.org/emersion/soju.git#${SOJU_REF} /src/
--> 609986c134df
[linux/amd64] [1/4] STEP 5/7: WORKDIR /src
--> a7475bd5b523
[linux/amd64] [1/4] STEP 6/7: ARG TARGETOS TARGETARCH TARGETPLATFORM BUILDPLATFORM
--> 71d7278f4c27
[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 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-scfg v0.0.0-20240128091534-2ae16e782082
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
--> 831174e4d5d5
[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 /
--> 3a4bbac112a4
[linux/arm64] [4/4] STEP 3/7: COPY --from=soju-build /usr/share/zoneinfo /usr/share/zoneinfo
--> 24f79a789d9f
[linux/arm64] [4/4] STEP 4/7: COPY --from=soju-build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
--> dcbf0c5622b2
[linux/arm64] [4/4] STEP 5/7: ENV PATH=/
--> 30bd276c7381
[linux/arm64] [4/4] STEP 6/7: ENTRYPOINT ["soju"]
--> b8c65d62b806
[linux/arm64] [4/4] STEP 7/7: HEALTHCHECK CMD ["sojuctl", "help"]
[linux/arm64] [4/4] COMMIT
time="2024-11-28T20:31:14Z" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> 324eeb24f319
[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 /
324eeb24f31924705a4be2ee99a716e985b44d9d9fc7f9d5bf6aa67354a7df98
--> 838f88716e8e
[linux/amd64] [4/4] STEP 3/7: COPY --from=soju-build /usr/share/zoneinfo /usr/share/zoneinfo
--> e7a4a6c7558b
[linux/amd64] [4/4] STEP 4/7: COPY --from=soju-build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
--> 45ec0f0823b6
[linux/amd64] [4/4] STEP 5/7: ENV PATH=/
--> f9fbede645a5
[linux/amd64] [4/4] STEP 6/7: ENTRYPOINT ["soju"]
--> 8f52be749697
[linux/amd64] [4/4] STEP 7/7: HEALTHCHECK CMD ["sojuctl", "help"]
[linux/amd64] [4/4] COMMIT
time="2024-11-28T20:31:15Z" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> c5f5107a456c
c5f5107a456ced91bfa50eeba05b766f48774f11abfc132f1f8a3b352315e3dd
+ 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
--> ee2aa2f2ab74
[linux/arm64] [2/5] STEP 3/6: ADD https://codeberg.org/emersion/kimchi.git#${KIMCHI_REF} /src/
--> b536c2f50e64
[linux/arm64] [2/5] STEP 4/6: WORKDIR /src
--> d695857481c1
[linux/arm64] [2/5] STEP 5/6: ARG TARGETOS TARGETARCH
--> 5ec136a57c9f
[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 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
--> bfce56e547c4
[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
--> 794200421174
[linux/arm64] [3/5] STEP 3/5: ADD https://codeberg.org/emersion/gamja.git#${GAMJA_REF} /src/
--> c4729464e7af
[linux/arm64] [3/5] STEP 4/5: WORKDIR /src
--> 2c7af4807cc5
[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 864ms
dist/index.html 574 B 95ms
dist/manifest.webmanifest 99 B 72ms
dist/index.953868ce.css 10.4 kB 87ms
dist/index.de5e0f52.js 149.37 kB 225ms
--> 060ef60932e1
[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 ee2aa2f2ab74da392e697232e64cde30a59025faf46424b39d388ee68e0ffd20
--> ee2aa2f2ab74
[linux/amd64] [2/5] STEP 3/6: ADD https://codeberg.org/emersion/kimchi.git#${KIMCHI_REF} /src/
--> 523d6121cc05
[linux/amd64] [2/5] STEP 4/6: WORKDIR /src
--> c0d80483130f
[linux/amd64] [2/5] STEP 5/6: ARG TARGETOS TARGETARCH
--> aef872969e2e
[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
--> 6d6d6595e9e4
[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
--> f7da2cd6362d
[linux/arm64] [5/5] STEP 3/5: COPY --from=gamja-build /src/dist /gamja
--> b07d0d367622
[linux/arm64] [5/5] STEP 4/5: ADD kimchi-config /kimchi-config
--> bbd187000c9e
[linux/arm64] [5/5] STEP 5/5: CMD ["/kimchi", "-config", "/kimchi-config"]
[linux/arm64] [5/5] COMMIT
--> 0743163fa96e
[linux/amd64] [3/5] STEP 1/5: FROM --platform=linux/amd64 docker.io/library/node:alpine AS gamja-build
0743163fa96e58aae0b67bef73e07c4a0834204e3c91db671ea135b6810d0e77
[linux/amd64] [3/5] STEP 2/5: ARG GAMJA_REF=master
--> Using cache 794200421174e451da2c3176ad880efd65806bbbce1df661b8e963fc73647525
--> 794200421174
[linux/amd64] [3/5] STEP 3/5: ADD https://codeberg.org/emersion/gamja.git#${GAMJA_REF} /src/
--> cfbeda7cfca9
[linux/amd64] [3/5] STEP 4/5: WORKDIR /src
--> 0ab9a6415ed2
[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 2s
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 625ms
dist/index.html 574 B 95ms
dist/manifest.webmanifest 99 B 72ms
dist/index.953868ce.css 10.4 kB 87ms
dist/index.de5e0f52.js 149.37 kB 225ms
--> d4c0bf1e941e
[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
--> fe329ab8b7f6
[linux/amd64] [5/5] STEP 3/5: COPY --from=gamja-build /src/dist /gamja
--> 6dc8b18fd057
[linux/amd64] [5/5] STEP 4/5: ADD kimchi-config /kimchi-config
--> c02f2f3eb2ac
[linux/amd64] [5/5] STEP 5/5: CMD ["/kimchi", "-config", "/kimchi-config"]
[linux/amd64] [5/5] COMMIT
--> 4f9e565680aa
4f9e565680aacc554f0ce36d6bb7598c0f2cb6a7245848601effcf73a2387633
|