mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Normalize FROM AS casing in Dockerfiles
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user