|
2 | 2 |
|
3 | 3 | # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. |
4 | 4 | # |
5 | | -# Generated on 2022-08-26T08:13:01Z by kres latest. |
| 5 | +# Generated on 2022-09-19T12:00:34Z by kres 2e9342e. |
6 | 6 |
|
7 | 7 | ARG TOOLCHAIN |
8 | 8 |
|
9 | | -FROM ghcr.io/siderolabs/ca-certificates:v1.1.0 AS image-ca-certificates |
| 9 | +FROM ghcr.io/siderolabs/ca-certificates:v1.2.0 AS image-ca-certificates |
10 | 10 |
|
11 | | -FROM ghcr.io/siderolabs/fhs:v1.1.0 AS image-fhs |
| 11 | +FROM ghcr.io/siderolabs/fhs:v1.2.0 AS image-fhs |
12 | 12 |
|
13 | 13 | # runs markdownlint |
14 | | -FROM node:18.7.0-alpine AS lint-markdown |
| 14 | +FROM docker.io/node:18.9.0-alpine3.16 AS lint-markdown |
15 | 15 | WORKDIR /src |
16 | | -RUN npm i -g markdownlint-cli@0.31.1 |
| 16 | +RUN npm i -g markdownlint-cli@0.32.2 |
17 | 17 | RUN npm i sentences-per-line@0.2.1 |
18 | 18 | COPY .markdownlint.json . |
19 | 19 | COPY ./README.md ./README.md |
20 | 20 | RUN markdownlint --ignore "CHANGELOG.md" --ignore "**/node_modules/**" --ignore '**/hack/chglog/**' --rules node_modules/sentences-per-line/index.js . |
21 | 21 |
|
22 | 22 | # collects proto specs |
23 | 23 | FROM scratch AS proto-specs |
24 | | -ADD https://raw.githubusercontent.com/cosi-project/specification/80fd72f766d949f0ecb9753e739fc625d83af5c8/proto/v1alpha1/resource.proto /api/v1alpha1/ |
25 | | -ADD https://raw.githubusercontent.com/cosi-project/specification/80fd72f766d949f0ecb9753e739fc625d83af5c8/proto/v1alpha1/state.proto /api/v1alpha1/ |
26 | | -ADD https://raw.githubusercontent.com/cosi-project/specification/80fd72f766d949f0ecb9753e739fc625d83af5c8/proto/v1alpha1/runtime.proto /api/v1alpha1/ |
27 | | -ADD https://raw.githubusercontent.com/cosi-project/specification/80fd72f766d949f0ecb9753e739fc625d83af5c8/proto/v1alpha1/meta.proto /api/v1alpha1/ |
| 24 | +ADD https://raw.githubusercontent.com/cosi-project/specification/c0f4e7ba6f9a4c7b857b7d110bff3dc5d523cacf/proto/v1alpha1/resource.proto /api/v1alpha1/ |
| 25 | +ADD https://raw.githubusercontent.com/cosi-project/specification/c0f4e7ba6f9a4c7b857b7d110bff3dc5d523cacf/proto/v1alpha1/state.proto /api/v1alpha1/ |
| 26 | +ADD https://raw.githubusercontent.com/cosi-project/specification/c0f4e7ba6f9a4c7b857b7d110bff3dc5d523cacf/proto/v1alpha1/runtime.proto /api/v1alpha1/ |
| 27 | +ADD https://raw.githubusercontent.com/cosi-project/specification/c0f4e7ba6f9a4c7b857b7d110bff3dc5d523cacf/proto/v1alpha1/meta.proto /api/v1alpha1/ |
28 | 28 |
|
29 | 29 | # base toolchain image |
30 | 30 | FROM ${TOOLCHAIN} AS toolchain |
31 | 31 | RUN apk --update --no-cache add bash curl build-base protoc protobuf-dev |
32 | 32 |
|
33 | 33 | # build tools |
34 | | -FROM toolchain AS tools |
| 34 | +FROM --platform=${BUILDPLATFORM} toolchain AS tools |
35 | 35 | ENV GO111MODULE on |
36 | 36 | ENV CGO_ENABLED 0 |
37 | 37 | ENV GOPATH /go |
|
0 commit comments