Normalize FROM AS casing in Dockerfiles

This commit is contained in:
Luke Parker
2025-08-09 12:20:58 -04:00
parent 5c895efcd0
commit 8b60feed92
7 changed files with 10 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ use crate::{Network, Os, mimalloc, os, write_dockerfile};
pub fn bitcoin(orchestration_path: &Path, network: Network) {
#[rustfmt::skip]
const DOWNLOAD_BITCOIN: &str = r#"
FROM alpine:latest as bitcoin
FROM alpine:latest AS bitcoin
ENV BITCOIN_VERSION=27.1

View File

@@ -5,7 +5,7 @@ pub fn lighthouse(network: Network) -> (String, String, String) {
#[rustfmt::skip]
const DOWNLOAD_LIGHTHOUSE: &str = r#"
FROM alpine:latest as lighthouse
FROM alpine:latest AS lighthouse
ENV LIGHTHOUSE_VERSION=5.1.3

View File

@@ -20,7 +20,7 @@ pub fn nimbus(network: Network) -> (String, String, String) {
#[rustfmt::skip]
let download_nimbus = format!(r#"
FROM alpine:latest as nimbus
FROM alpine:latest AS nimbus
ENV NIMBUS_VERSION=24.3.0
ENV NIMBUS_COMMIT=dc19b082

View File

@@ -5,7 +5,7 @@ pub fn reth(network: Network) -> (String, String, String) {
#[rustfmt::skip]
const DOWNLOAD_RETH: &str = r#"
FROM alpine:latest as reth
FROM alpine:latest AS reth
ENV RETH_VERSION=0.2.0-beta.6

View File

@@ -22,7 +22,7 @@ fn monero_internal(
#[rustfmt::skip]
let download_monero = format!(r#"
FROM alpine:latest as monero
FROM alpine:latest AS monero
RUN apk --no-cache add gnupg