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 |
+ 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/6: 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:c79bddf330f7de2b96b69740174bc7152350ef81439db2dfa776fc3a9365dc80
Copying blob sha256:5418e60db87de98b06e455a400579c7f27106374f3450aef2951989cf6c7f536
Copying blob sha256:f115f9222c8e1a0a23300412608c2f4a3d45a6a471af693ed24f073d76d9f288
Copying blob sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f
Copying config sha256:98069ee7ef5d97727559513880f76a2de6a1656a51f3685e074309a1b14f7718
Writing manifest to image destination
[linux/arm64] [1/4] STEP 2/6: 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
--> b8772d3fa79b
[linux/arm64] [1/4] STEP 3/6: ADD https://codeberg.org/emersion/soju.git /src/
--> ac82e1c10fd1
[linux/arm64] [1/4] STEP 4/6: WORKDIR /src
--> 1c8f2fbd7176
[linux/arm64] [1/4] STEP 5/6: ARG TARGETOS TARGETARCH TARGETPLATFORM BUILDPLATFORM
--> bfbc55d46fe8
[linux/arm64] [1/4] STEP 6/6: 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.27.0
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 github.com/prometheus/client_golang v1.20.4
go: downloading github.com/lib/pq v1.10.9
go: downloading modernc.org/sqlite v1.29.10
go: downloading golang.org/x/time v0.6.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-20231106173351-e73c9f7bad43
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.24.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.25.0
go: downloading modernc.org/libc v1.50.8
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/dustin/go-humanize v1.0.1
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/ncruces/go-strftime v0.1.9
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
--> 9bf125903704
[linux/amd64] [1/4] STEP 1/6: FROM --platform=linux/amd64 docker.io/library/golang:alpine AS soju-build
[linux/amd64] [1/4] STEP 2/6: RUN --mount=type=cache,target=/var/cache/apk apk -U add build-base ca-certificates tzdata
--> Using cache b8772d3fa79bdd3779904bffd8b9a6d4244498adc4bcd1351cb700a458441b59
--> b8772d3fa79b
[linux/amd64] [1/4] STEP 3/6: ADD https://codeberg.org/emersion/soju.git /src/
--> 2ae8399f456f
[linux/amd64] [1/4] STEP 4/6: WORKDIR /src
--> 605c166d11b2
[linux/amd64] [1/4] STEP 5/6: ARG TARGETOS TARGETARCH TARGETPLATFORM BUILDPLATFORM
--> a8a64a307688
[linux/amd64] [1/4] STEP 6/6: 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.27.0
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 github.com/prometheus/client_golang v1.20.4
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.23
go: downloading golang.org/x/time v0.6.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-20231106173351-e73c9f7bad43
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.24.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.25.0
--> 30ac8eac305a
[linux/arm64] [4/4] STEP 1/6: FROM scratch AS soju
[linux/arm64] [4/4] STEP 2/6: COPY --from=soju-build /src/soju /src/sojudb /src/sojuctl /
--> c60365ffaa9b
[linux/arm64] [4/4] STEP 3/6: COPY --from=soju-build /usr/share/zoneinfo /usr/share/zoneinfo
--> f9f35697a897
[linux/arm64] [4/4] STEP 4/6: COPY --from=soju-build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
--> f10fc54db96b
[linux/arm64] [4/4] STEP 5/6: ENTRYPOINT ["/soju"]
--> 85fab562f5c7
[linux/arm64] [4/4] STEP 6/6: HEALTHCHECK CMD ["/sojuctl", "help"]
[linux/arm64] [4/4] COMMIT
time="2024-11-18T20:00:55Z" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> 1687b7dd0ccd
[linux/amd64] [4/4] STEP 1/6: FROM scratch AS soju
[linux/amd64] [4/4] STEP 2/6: COPY --from=soju-build /src/soju /src/sojudb /src/sojuctl /
1687b7dd0ccde55a4edc2b377b7d87b4bf5a5fa511c9cf4cda7a77db550bb405
--> 069c7f249bc2
[linux/amd64] [4/4] STEP 3/6: COPY --from=soju-build /usr/share/zoneinfo /usr/share/zoneinfo
--> 16c646727c6b
[linux/amd64] [4/4] STEP 4/6: COPY --from=soju-build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
--> 7f4a49ec69ec
[linux/amd64] [4/4] STEP 5/6: ENTRYPOINT ["/soju"]
--> 20e25ff59cef
[linux/amd64] [4/4] STEP 6/6: HEALTHCHECK CMD ["/sojuctl", "help"]
[linux/amd64] [4/4] COMMIT
time="2024-11-18T20:00:56Z" level=warning msg="HEALTHCHECK is not supported for OCI image format and will be ignored. Must use `docker` format"
--> 809955c38424
809955c38424ce4c1cc7ccfbfc317a6071acab0f818fcaec4823b30f1b158aee
+ 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: ADD https://git.sr.ht/~emersion/kimchi/archive/master.tar.gz /src/
--> aa4c009143ae
[linux/arm64] [2/5] STEP 3/6: WORKDIR /src
--> 993f3e17c4b9
[linux/arm64] [2/5] STEP 4/6: ARG TARGETOS TARGETARCH
--> c64633bae061
[linux/arm64] [2/5] STEP 5/6: RUN tar --strip-components=1 -xf master.tar.gz
--> 3d5b26779aad
[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
--> 58d9b2f1f8be
[linux/arm64] [3/5] STEP 1/4: 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:d2e4e776a692ca1e8caf2f64174bfa196c058c1c2b7b256c3d4cd55f0d71dc69
Copying blob sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f
Copying blob sha256:1a1585882d0c70bfb6a19ce622a84e6ab0d514601bbbbc36bffa44ecf889e087
Copying blob sha256:6f0d65816d6415a9b9a439c57513d4bb8c88148b721bd8caf8cc33af35b95f9a
Copying config sha256:52c65e4d2861d8df129b70ee079815e3fbb30dc7bb4aadb8bf1f0020dbfc9bab
Writing manifest to image destination
[linux/arm64] [3/5] STEP 2/4: ADD https://codeberg.org/emersion/gamja.git /src/
--> f034537105ea
[linux/arm64] [3/5] STEP 3/4: WORKDIR /src
--> 9246b173ea89
[linux/arm64] [3/5] STEP 4/4: 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)
npm warn deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
added 279 packages, and audited 280 packages in 5s
109 packages are looking for funding
run `npm fund` for details
5 vulnerabilities (3 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.
> build
> parcel build
78(node:58) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Building...
Bundling...
Packaging & Optimizing...
✨ Built in 1.10s
dist/index.html 574 B 340ms
dist/manifest.webmanifest 99 B 206ms
dist/index.83982b15.css 10.16 KB 214ms
dist/index.c8e052b6.js 145.97 KB 421ms
--> 1dc00bf56ec0
[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: ADD https://git.sr.ht/~emersion/kimchi/archive/master.tar.gz /src/
--> Using cache aa4c009143ae2035cf495aaf0b80700615de7bb415bef06675a8dc0c1215912f
--> aa4c009143ae
[linux/amd64] [2/5] STEP 3/6: WORKDIR /src
--> Using cache 993f3e17c4b970cf70707b99b67557ae2b7d4cabc25de8401bf533f4f6c9e670
--> 993f3e17c4b9
[linux/amd64] [2/5] STEP 4/6: ARG TARGETOS TARGETARCH
--> Using cache c64633bae06186532d1b48322916dc98ae070a0b92d79e4707e3595f8bb78b78
--> c64633bae061
[linux/amd64] [2/5] STEP 5/6: RUN tar --strip-components=1 -xf master.tar.gz
--> fa5b56f83c99
[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
--> 9da61f65a105
[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
--> f4c51edbf70a
[linux/arm64] [5/5] STEP 3/5: COPY --from=gamja-build /src/dist /gamja
--> 87ded7129e7e
[linux/arm64] [5/5] STEP 4/5: ADD kimchi-config /kimchi-config
--> 01b602c41832
[linux/arm64] [5/5] STEP 5/5: CMD ["/kimchi", "-config", "/kimchi-config"]
[linux/arm64] [5/5] COMMIT
--> 190128e885aa
[linux/amd64] [3/5] STEP 1/4: FROM --platform=linux/amd64 docker.io/library/node:alpine AS gamja-build
190128e885aaf5bc8ee3b249549c054249731ffc7edd198c300732782d8b5ded
[linux/amd64] [3/5] STEP 2/4: ADD https://codeberg.org/emersion/gamja.git /src/
--> c0bb4ad17e3f
[linux/amd64] [3/5] STEP 3/4: WORKDIR /src
--> 542a2e0d57b9
[linux/amd64] [3/5] STEP 4/4: 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 280 packages in 2s
109 packages are looking for funding
run `npm fund` for details
5 vulnerabilities (3 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.
> build
> parcel build
78(node:23) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Building...
Bundling...
✨ Built in 770ms
dist/index.html 574 B 25ms
dist/manifest.webmanifest 99 B 206ms
dist/index.83982b15.css 10.16 KB 20ms
dist/index.c8e052b6.js 145.97 KB 24ms
--> fa94b95cd3e6
[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
--> 000fc8624e12
[linux/amd64] [5/5] STEP 3/5: COPY --from=gamja-build /src/dist /gamja
--> 69a8f92017bf
[linux/amd64] [5/5] STEP 4/5: ADD kimchi-config /kimchi-config
--> e9eea3bbd559
[linux/amd64] [5/5] STEP 5/5: CMD ["/kimchi", "-config", "/kimchi-config"]
[linux/amd64] [5/5] COMMIT
--> 1ebfd6601023
1ebfd66010239c72f00e97b998f99efba10a1fcf4df54d13065ac894ac9c2b0b
|