fix from->FROM/as->AS casing

This commit is contained in:
Jakub Panek 2024-08-08 09:50:50 +02:00
parent 8107c1581e
commit 8b37ec90ed
No known key found for this signature in database
GPG key ID: D5E8A1F82F3BDA9D
26 changed files with 26 additions and 26 deletions

View file

@ -27,7 +27,7 @@ RUN --network=none <<-EOF
make -j "$(nproc)"
EOF
from build as install
FROM build AS install
RUN --network=none make DESTDIR=/rootfs install
FROM stagex/filesystem AS package

View file

@ -25,7 +25,7 @@ RUN --network=none <<-EOF
make -j "$(nproc)"
EOF
from build as install
FROM build AS install
RUN --network=none make DESTDIR=/rootfs install
FROM stagex/filesystem AS package

View file

@ -28,7 +28,7 @@ RUN --network=none <<-EOF
make -j1 MAKEINFO=false
EOF
from build as install
FROM build AS install
RUN --network=none make DESTDIR=/rootfs install
FROM stagex/filesystem AS package

View file

@ -26,7 +26,7 @@ ENV GOFLAGS=-trimpath
RUN mkdir -p ${GOPATH}
RUN go build -o bin/buf ./cmd/buf
from build as install
FROM build AS install
RUN <<-EOF
mkdir -p /rootfs/usr/bin/
cp bin/buf /rootfs/usr/bin/

View file

@ -17,7 +17,7 @@ WORKDIR flashtools-${VERSION}
FROM fetch AS build
RUN --network=none make all
from build as install
FROM build AS install
RUN <<-EOF
mkdir -p /rootfs/usr/bin/
install -D -m 0755 flashtool /rootfs/usr/bin/

View file

@ -27,7 +27,7 @@ RUN <<-EOF
make -j "$(nproc)"
EOF
from build as install
FROM build AS install
RUN --network=none make DESTDIR=/rootfs install
FROM stagex/filesystem AS package

View file

@ -25,7 +25,7 @@ ENV GOHOSTARCH=amd64
RUN mkdir -p ${GOPATH}
RUN go build -o bin/go-md2man
from build as install
FROM build AS install
RUN <<-EOF
mkdir -p /rootfs/usr/bin/
cp bin/go-md2man /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ RUN go get ./...
FROM fetch AS build
RUN --network=none go build -trimpath -v ./cmd/grpcurl
from build as install
FROM build AS install
RUN <<-EOF
set -eu
mkdir -p /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ RUN go get ./...
FROM fetch AS build
RUN --network=none go build -v -trimpath ./cmd/helm
from build as install
FROM build AS install
RUN <<-EOF
set -eu
mkdir -p /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ RUN go get ./...
FROM fetch AS build
RUN --network=none go build -trimpath -o k9s -v main.go
from build as install
FROM build AS install
RUN <<-EOF
set -eu
mkdir -p /rootfs/usr/bin/

View file

@ -29,7 +29,7 @@ RUN --network=none \
-trimpath \
-ldflags "-s -w -X main.version=${VERSION} -buildid="
from build as install
FROM build AS install
RUN <<-EOF
set -eux
mkdir -p /rootfs/usr/lib/kustomize/plugins/viduct.ai/v1/ksops

View file

@ -25,7 +25,7 @@ RUN go get ./...
FROM fetch AS build
RUN --network=none go build -o bin/ -trimpath -v ./...
from build as install
FROM build AS install
RUN <<-EOF
set -eu
mkdir -p /rootfs/usr/bin/

View file

@ -24,7 +24,7 @@ RUN GOPATH="/kubernetes-${VERSION}" go mod download
FROM fetch AS build
RUN --network=none go build -trimpath -v k8s.io/kubernetes/cmd/kubectl
from build as install
FROM build AS install
RUN <<-EOF
set -eu
mkdir -p /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ RUN go get ./...
FROM fetch AS build
RUN --network=none go build -trimpath -v
from build as install
FROM build AS install
RUN <<-EOF
set -eu
mkdir -p /rootfs/usr/lib/kustomize/plugins/viduct.ai/v1/ksops

View file

@ -25,7 +25,7 @@ RUN go get ./...
FROM fetch AS build
RUN --network=none go build -v -trimpath
from build as install
FROM build AS install
RUN <<-EOF
set -eu
mkdir -p /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ ENV GOFLAGS=-trimpath
RUN mkdir -p ${GOPATH}
RUN go build -o bin/mockgen ./mockgen
from build as install
FROM build AS install
RUN <<-EOF
set -eux
mkdir -p /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ ENV GOFLAGS=-trimpath
RUN mkdir -p ${GOPATH}
RUN go build -o bin/protoc-gen-go-grpc ./
from build as install
FROM build AS install
RUN <<-EOF
set -eux
mkdir -p /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ ENV GOFLAGS=-trimpath
RUN mkdir -p ${GOPATH}
RUN go build -o bin/protoc-gen-go ./protoc-gen-go
from build as install
FROM build AS install
RUN <<-EOF
set -eux
mkdir -p /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ ENV GOFLAGS=-trimpath
RUN mkdir -p ${GOPATH}
RUN go build -o bin/protoc-gen-grpc-gateway ./protoc-gen-grpc-gateway
from build as install
FROM build AS install
RUN <<-EOF
set -eux
mkdir -p /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ ENV GOFLAGS=-trimpath
RUN mkdir -p ${GOPATH}
RUN go build -o bin/protoc-gen-openapiv2 ./protoc-gen-openapiv2
from build as install
FROM build AS install
RUN <<-EOF
set -eux
mkdir -p /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ ENV GOFLAGS=-trimpath
RUN mkdir -p ${GOPATH}
RUN go build -o bin/protoc-go-inject-tag .
from build as install
FROM build AS install
RUN <<-EOF
set -eux
mkdir -p /rootfs/usr/bin/

View file

@ -26,7 +26,7 @@ ENV GOFLAGS=-trimpath
RUN mkdir -p ${GOPATH}
RUN go build -o bin/sops ./cmd/sops
from build as install
FROM build AS install
RUN --network=none <<-EOF
mkdir -p /rootfs/usr/bin/
cp bin/sops /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ RUN go get ./...
FROM fetch AS build
RUN --network=none go build -v -trimpath ./cmd/talosctl
from build as install
FROM build AS install
RUN <<-EOF
mkdir -p /rootfs/usr/bin/
cp talosctl /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ RUN go get ./...
FROM fetch AS build
RUN --network=none go build -o out/tflint -v -trimpath
from build as install
FROM build AS install
RUN <<-EOF
mkdir -p /rootfs/usr/bin/
cp out/tflint /rootfs/usr/bin/

View file

@ -26,7 +26,7 @@ ENV GOFLAGS=-trimpath
RUN mkdir -p ${GOPATH}
RUN go build -o bin/tofu ./cmd/tofu
from build as install
FROM build AS install
RUN <<-EOF
mkdir -p /rootfs/usr/bin/
cp bin/tofu /rootfs/usr/bin/

View file

@ -25,7 +25,7 @@ RUN go get ./...
FROM fetch AS build
RUN --network=none go build -v -trimpath
from build as install
FROM build AS install
RUN <<-EOF
mkdir -p /rootfs/usr/bin/
cp yq /rootfs/usr/bin/