From 3d741db9e3e774b3080404299c5672e4d0e415d2 Mon Sep 17 00:00:00 2001 From: idodod Date: Fri, 15 Dec 2023 23:10:10 -0500 Subject: [PATCH] Updater example dependencies (#733) * Updater example dependencies Update dependencies used in the example in the website main page. * Update benefits-earthfile.html * Update code.html * Update developers-2.html * Update earthly-basic.html * Update why.html * Update hero-with-earthfile.html * Update hero-with-earthfile-mobile.html * Update understandable.html * Update explanation-1.html --- website/_includes/code.html | 2 +- website/_includes/core/benefits-earthfile.html | 6 +++--- website/_includes/home/examples/developers-2.html | 2 +- website/_includes/home/examples/earthly-basic.html | 2 +- website/_includes/home/examples/explanation-1.html | 4 ++-- website/_includes/home/v2/benefits-earthfile.html | 6 +++--- website/_includes/home/v2/hero-with-earthfile-mobile.html | 4 ++-- website/_includes/home/v2/hero-with-earthfile.html | 4 ++-- website/_includes/understandable.html | 6 +++--- website/_includes/why.html | 6 +++--- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/website/_includes/code.html b/website/_includes/code.html index f8aa224a3..e22958b14 100644 --- a/website/_includes/code.html +++ b/website/_includes/code.html @@ -7,7 +7,7 @@ Earthfile -FROM golang:1.13-alpine3.11 +FROM golang:1.21-alpine3.19 build: COPY main.go . diff --git a/website/_includes/core/benefits-earthfile.html b/website/_includes/core/benefits-earthfile.html index 595a49c90..7b1fc02a4 100644 --- a/website/_includes/core/benefits-earthfile.html +++ b/website/_includes/core/benefits-earthfile.html @@ -30,7 +30,7 @@
VERSION 0.7
-
FROM golang:1.13-alpine3.11
+
FROM golang:1.21-alpine3.19
RUN apk --update --no-cache add git
WORKDIR /go-example
@@ -44,7 +44,7 @@
SAVE ARTIFACT build/go-example AS LOCAL build/go-example
lint:
-
RUN go get golang.org/x/lint/golint
+
RUN go install golang.org/x/lint/golint@latest
COPY main.go .
RUN golint -set_exit_status ./...
@@ -61,4 +61,4 @@ - \ No newline at end of file + diff --git a/website/_includes/home/examples/developers-2.html b/website/_includes/home/examples/developers-2.html index c1738a2a9..d07389d57 100644 --- a/website/_includes/home/examples/developers-2.html +++ b/website/_includes/home/examples/developers-2.html @@ -1,5 +1,5 @@
- FROM golang:1.13-alpine3.11 + FROM golang:1.21-alpine3.19
WORKDIR /proto-example diff --git a/website/_includes/home/examples/earthly-basic.html b/website/_includes/home/examples/earthly-basic.html index 96a26e813..68bebf468 100644 --- a/website/_includes/home/examples/earthly-basic.html +++ b/website/_includes/home/examples/earthly-basic.html @@ -1,5 +1,5 @@ FROM -golang:1.13-alpine3.11 +golang:1.21-alpine3.19
build:
COPY main.go .
diff --git a/website/_includes/home/examples/explanation-1.html b/website/_includes/home/examples/explanation-1.html index 3ad87663f..b510a925b 100644 --- a/website/_includes/home/examples/explanation-1.html +++ b/website/_includes/home/examples/explanation-1.html @@ -1,5 +1,5 @@
- FROM golang:1.13-alpine3.11 + FROM golang:1.21-alpine3.19
RUN apk --update --no-cache add git @@ -21,7 +21,7 @@
lint:
- RUN go get golang.org/x/lint/golint + RUN go install golang.org/x/lint/golint@latest
COPY main.go .
diff --git a/website/_includes/home/v2/benefits-earthfile.html b/website/_includes/home/v2/benefits-earthfile.html index ea317f568..3f9c48444 100644 --- a/website/_includes/home/v2/benefits-earthfile.html +++ b/website/_includes/home/v2/benefits-earthfile.html @@ -34,7 +34,7 @@
VERSION 0.7
-
FROM golang:1.13-alpine3.11
+
FROM golang:1.21-alpine3.19
RUN apk --update --no-cache add git
WORKDIR /go-example
@@ -48,7 +48,7 @@
SAVE ARTIFACT build/go-example AS LOCAL build/go-example
lint:
-
RUN go get golang.org/x/lint/golint
+
RUN go install golang.org/x/lint/golint@latest
COPY main.go .
RUN golint -set_exit_status ./...
@@ -60,4 +60,4 @@
- \ No newline at end of file + diff --git a/website/_includes/home/v2/hero-with-earthfile-mobile.html b/website/_includes/home/v2/hero-with-earthfile-mobile.html index a66a7dc4d..445d28d14 100644 --- a/website/_includes/home/v2/hero-with-earthfile-mobile.html +++ b/website/_includes/home/v2/hero-with-earthfile-mobile.html @@ -56,7 +56,7 @@

VERSION 0.7
-
FROM golang:1.13-alpine3.11
+
FROM golang:1.21-alpine3.19
RUN apk --update --no-cache add git
WORKDIR /go-example
@@ -70,7 +70,7 @@

SAVE ARTIFACT build/go-example AS LOCAL build/go-example

lint:
-
RUN go get golang.org/x/lint/golint
+
RUN go install golang.org/x/lint/golint@latest
COPY main.go .
RUN golint -set_exit_status ./...
diff --git a/website/_includes/home/v2/hero-with-earthfile.html b/website/_includes/home/v2/hero-with-earthfile.html index ea4b8b3cd..1d89da3ad 100644 --- a/website/_includes/home/v2/hero-with-earthfile.html +++ b/website/_includes/home/v2/hero-with-earthfile.html @@ -55,7 +55,7 @@

VERSION 0.7
-
FROM golang:1.13-alpine3.11
+
FROM golang:1.21-alpine3.19
RUN apk --update --no-cache add git
WORKDIR /go-example
@@ -69,7 +69,7 @@

SAVE ARTIFACT build/go-example AS LOCAL build/go-example

lint:
-
RUN go get golang.org/x/lint/golint
+
RUN go install golang.org/x/lint/golint@latest
COPY main.go .
RUN golint -set_exit_status ./...
diff --git a/website/_includes/understandable.html b/website/_includes/understandable.html index 267349754..bef8a113c 100644 --- a/website/_includes/understandable.html +++ b/website/_includes/understandable.html @@ -30,7 +30,7 @@

Benefits

Earthfile -FROM golang:1.13-alpine3.11 +FROM golang:1.21-alpine3.19 RUN apk --update --no-cache add git WORKDIR /go-example @@ -44,7 +44,7 @@

Benefits

SAVE ARTIFACT build/go-example AS LOCAL build/go-example lint: - RUN go get golang.org/x/lint/golint + RUN go install golang.org/x/lint/golint@latest COPY main.go . RUN golint -set_exit_status ./...
@@ -77,4 +77,4 @@

Reproduce CI failures

- \ No newline at end of file + diff --git a/website/_includes/why.html b/website/_includes/why.html index 97db0840c..37396ed50 100644 --- a/website/_includes/why.html +++ b/website/_includes/why.html @@ -47,7 +47,7 @@

Self-contained builds that work everywhere

Earthfile - FROM golang:1.13-alpine3.11 + FROM golang:1.21-alpine3.19 WORKDIR /proto-example proto: @@ -122,7 +122,7 @@

Modern import system

Earthfile - FROM node:13.10.1-alpine3.11 + FROM node:20.10.0-alpine3.19 WORKDIR /example-multirepo docker: @@ -167,4 +167,4 @@

Strong Community

- \ No newline at end of file +