Sitelet https://github.com/ethereum-optimism/optimism/commit/b36d065ebf12343f36455e47ed7f610804854bf0
Skip to content

Commit b36d065

Browse files
authored
fix: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (#13542)
1 parent 440086c commit b36d065

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎cannon/Dockerfile.diff‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7-alpine3.20 as builder
1+
FROM golang:1.22.7-alpine3.20 AS builder
22

33
RUN apk add --no-cache make bash
44

@@ -25,7 +25,7 @@ ARG TARGETOS TARGETARCH
2525

2626
FROM --platform=$BUILDPLATFORM us-docker.pkg.dev/oplabs-tools-artifacts/images/cannon:v1.1.0-alpha.4 AS cannon-v2
2727

28-
FROM --platform=$BUILDPLATFORM builder as cannon-verify
28+
FROM --platform=$BUILDPLATFORM builder AS cannon-verify
2929
COPY --from=cannon-v2 /usr/local/bin/cannon /usr/local/bin/cannon-v2
3030
# verify the latest singlethreaded VM behavior against cannon-v2
3131
RUN cd cannon && make diff-singlethreaded-2-cannon -e OTHER_CANNON=/usr/local/bin/cannon-v2

‎op-alt-da/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG OP_STACK_GO_BUILDER=us-docker.pkg.dev/oplabs-tools-artifacts/images/op-stack-go:latest
2-
FROM $OP_STACK_GO_BUILDER as builder
2+
FROM $OP_STACK_GO_BUILDER AS builder
33
# See "make golang-docker" and /ops/docker/op-stack-go
44

55
FROM alpine:3.20

‎op-dispute-mon/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG OP_STACK_GO_BUILDER=us-docker.pkg.dev/oplabs-tools-artifacts/images/op-stack-go:latest
2-
FROM $OP_STACK_GO_BUILDER as builder
2+
FROM $OP_STACK_GO_BUILDER AS builder
33
# See "make golang-docker" and /ops/docker/op-stack-go
44

55
FROM alpine:3.20

‎ops/docker/Dockerfile.packages‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
# This Dockerfile builds all the dependencies needed by the smart-contracts, excluding Go and Python.
66

7-
FROM --platform=linux/amd64 us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest as foundry
7+
FROM --platform=linux/amd64 us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest AS foundry
88

9-
FROM --platform=linux/amd64 debian:bookworm-20240812-slim as base
9+
FROM --platform=linux/amd64 debian:bookworm-20240812-slim AS base
1010

1111
# Base: install deps
1212
RUN apt-get update && apt-get install -y \

‎ops/docker/ci-builder/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ ENTRYPOINT ["/bin/bash", "-c"]
8181
# CI BUILDER (RUST) #
8282
###############################################################################
8383

84-
FROM base-builder as rust-builder
84+
FROM base-builder AS rust-builder
8585

8686
# Install clang & lld
8787
RUN apt-get update && apt-get install -y clang lld

0 commit comments

Comments
 (0)