Skip to content

Commit

Permalink
Updater example dependencies (#733)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
idodod authored Dec 16, 2023
1 parent 072d7ef commit 3d741db
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion website/_includes/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
Earthfile
</header>
<code class="Home-product-Earthfile-code"><span class="earthfile-term">FROM</span> golang:1.13-alpine3.11
<code class="Home-product-Earthfile-code"><span class="earthfile-term">FROM</span> golang:1.21-alpine3.19

<span class="earthfile-target">build:</span>
<span class="earthfile-term">COPY</span> main.go .
Expand Down
6 changes: 3 additions & 3 deletions website/_includes/core/benefits-earthfile.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<code class="text-sm sm:text-md pt-6 lg:pt-10 lg:pl-6 pb-6 font-mono block bg-[#111214] text-gray-100 min-h-[310px] lg:min-h-[350px]">
<div class=" rounded-lg pb-4 text-white text-sm font-mono relative">
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">VERSION</span> 0.7</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">FROM</span> golang:1.13-alpine3.11</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">FROM</span> golang:1.21-alpine3.19</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">RUN</span> apk --update --no-cache add git</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">WORKDIR</span> /go-example</div>

Expand All @@ -44,7 +44,7 @@
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">SAVE ARTIFACT</span> build/go-example <span class="text-[#7dcfff]">AS LOCAL</span> build/go-example</div>

<div class="mt-3 text-[#b395ed] cursor-default pl-6">lint:</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> go get golang.org/x/lint/golint</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> go install golang.org/x/lint/golint@latest</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">COPY</span> main.go .</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> golint -set_exit_status ./...</div>
</div>
Expand All @@ -61,4 +61,4 @@
</div>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion website/_includes/home/examples/developers-2.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="pb-1">
<span class="earthfile-term">FROM</span> golang:1.13-alpine3.11
<span class="earthfile-term">FROM</span> golang:1.21-alpine3.19
</div>
<div class="pb-1">
<span class="earthfile-term">WORKDIR</span> /proto-example
Expand Down
2 changes: 1 addition & 1 deletion website/_includes/home/examples/earthly-basic.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<span class="earthfile-term">FROM</span>
golang:1.13-alpine3.11
golang:1.21-alpine3.19
<div class="pt-3 earthfile-target">build:</div>

<div class="pl-8"><span class="earthfile-term">COPY</span> main.go .</div>
Expand Down
4 changes: 2 additions & 2 deletions website/_includes/home/examples/explanation-1.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="pb-1">
<span class="earthfile-term">FROM</span> golang:1.13-alpine3.11
<span class="earthfile-term">FROM</span> golang:1.21-alpine3.19
</div>
<div class="pb-1">
<span class="earthfile-term">RUN</span> apk --update --no-cache add git
Expand All @@ -21,7 +21,7 @@

<div class="pt-5 earthfile-target">lint:</div>
<div class="pl-8">
<span class="earthfile-term">RUN</span> go get golang.org/x/lint/golint
<span class="earthfile-term">RUN</span> go install golang.org/x/lint/golint@latest
</div>
<div class="pl-8"><span class="earthfile-term">COPY</span> main.go .</div>
<div class="pl-8">
Expand Down
6 changes: 3 additions & 3 deletions website/_includes/home/v2/benefits-earthfile.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<code class="text-sm sm:text-md pt-6 lg:pt-10 lg:pl-6 pb-6 font-mono block bg-[#111214] text-gray-100 min-h-[310px] lg:min-h-[350px]">
<div class=" rounded-lg pb-4 text-white text-sm font-mono relative">
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">VERSION</span> 0.7</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">FROM</span> golang:1.13-alpine3.11</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">FROM</span> golang:1.21-alpine3.19</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">RUN</span> apk --update --no-cache add git</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">WORKDIR</span> /go-example</div>

Expand All @@ -48,7 +48,7 @@
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">SAVE ARTIFACT</span> build/go-example <span class="text-[#7dcfff]">AS LOCAL</span> build/go-example</div>

<div class="mt-3 text-[#b395ed] cursor-default pl-6">lint:</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> go get golang.org/x/lint/golint</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> go install golang.org/x/lint/golint@latest</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">COPY</span> main.go .</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> golint -set_exit_status ./...</div>
</div>
Expand All @@ -60,4 +60,4 @@
</div>
</div>
</div>
</div>
</div>
4 changes: 2 additions & 2 deletions website/_includes/home/v2/hero-with-earthfile-mobile.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h1 class="font-medium text-5xl sm:text-7xl text-center text-slate-900 tracking-
<code class="text-sm sm:text-md pt-6 lg:pt-10 lg:pl-6 pb-6 font-mono block bg-[#111214] text-gray-100 min-h-[310px] lg:min-h-[350px]">
<div class=" rounded-lg pb-4 text-white text-sm font-mono relative">
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">VERSION</span> 0.7</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">FROM</span> golang:1.13-alpine3.11</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">FROM</span> golang:1.21-alpine3.19</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">RUN</span> apk --update --no-cache add git</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">WORKDIR</span> /go-example</div>

Expand All @@ -70,7 +70,7 @@ <h1 class="font-medium text-5xl sm:text-7xl text-center text-slate-900 tracking-
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">SAVE ARTIFACT</span> build/go-example <span class="text-[#7dcfff]">AS LOCAL</span> build/go-example</div>

<div class="mt-3 text-[#b395ed] cursor-default pl-6">lint:</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> go get golang.org/x/lint/golint</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> go install golang.org/x/lint/golint@latest</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">COPY</span> main.go .</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> golint -set_exit_status ./...</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions website/_includes/home/v2/hero-with-earthfile.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h1 class="font-medium text-5xl xl:text-7xl text-center lg:text-left text-slate-
<code class="text-sm sm:text-md pt-6 lg:pt-10 lg:pl-6 pb-6 font-mono block bg-[#111214] text-gray-100 min-h-[310px] lg:min-h-[350px]">
<div class=" rounded-lg pb-4 text-white text-sm font-mono relative">
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">VERSION</span> 0.7</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">FROM</span> golang:1.13-alpine3.11</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">FROM</span> golang:1.21-alpine3.19</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">RUN</span> apk --update --no-cache add git</div>
<div class="cursor-default pl-6"><span class="text-[#7dcfff]">WORKDIR</span> /go-example</div>

Expand All @@ -69,7 +69,7 @@ <h1 class="font-medium text-5xl xl:text-7xl text-center lg:text-left text-slate-
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">SAVE ARTIFACT</span> build/go-example <span class="text-[#7dcfff]">AS LOCAL</span> build/go-example</div>

<div class="mt-3 text-[#b395ed] cursor-default pl-6">lint:</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> go get golang.org/x/lint/golint</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> go install golang.org/x/lint/golint@latest</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">COPY</span> main.go .</div>
<div class="pl-10 cursor-default"><span class="text-[#7dcfff]">RUN</span> golint -set_exit_status ./...</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions website/_includes/understandable.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h4>Benefits</h4>
</div>
Earthfile
</header>
<code class="Home-product-Earthfile-code"><span class="earthfile-term">FROM</span> golang:1.13-alpine3.11
<code class="Home-product-Earthfile-code"><span class="earthfile-term">FROM</span> golang:1.21-alpine3.19
<span class="earthfile-term">RUN</span> apk --update --no-cache add git
<span class="earthfile-term">WORKDIR</span> /go-example

Expand All @@ -44,7 +44,7 @@ <h4>Benefits</h4>
<span class="earthfile-term">SAVE ARTIFACT</span> build/go-example <span class="earthfile-term">AS LOCAL</span> build/go-example

<span class="earthfile-target">lint:</span>
<span class="earthfile-term">RUN</span> go get golang.org/x/lint/golint
<span class="earthfile-term">RUN</span> go install golang.org/x/lint/golint@latest
<span class="earthfile-term">COPY</span> main.go .
<span class="earthfile-term">RUN</span> golint -set_exit_status ./...</code>
</div>
Expand Down Expand Up @@ -77,4 +77,4 @@ <h3 class="g-type-display-3">Reproduce CI failures</h3>
</div>
</div>
</div>
</section>
</section>
6 changes: 3 additions & 3 deletions website/_includes/why.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h3>Self-contained builds that work everywhere</h3>
</div>
Earthfile
</header>
<code class="Home-product-Earthfile-code"><span class="earthfile-term">FROM</span> golang:1.13-alpine3.11
<code class="Home-product-Earthfile-code"><span class="earthfile-term">FROM</span> golang:1.21-alpine3.19
<span class="earthfile-term">WORKDIR</span> /proto-example

<span class="earthfile-target">proto:</span>
Expand Down Expand Up @@ -122,7 +122,7 @@ <h3 class="g-type-display-3">Modern import system</h3>
</div>
Earthfile
</header>
<code class="Home-product-Earthfile-code"><span class="earthfile-term">FROM</span> node:13.10.1-alpine3.11
<code class="Home-product-Earthfile-code"><span class="earthfile-term">FROM</span> node:20.10.0-alpine3.19
<span class="earthfile-term">WORKDIR</span> /example-multirepo

<span class="earthfile-target">docker:</span>
Expand Down Expand Up @@ -167,4 +167,4 @@ <h3>Strong Community</h3>
</div>
</section>
</div>
</div>
</div>

0 comments on commit 3d741db

Please sign in to comment.