Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #438 from oshied/historical-gaia
Browse files Browse the repository at this point in the history
Update go versions and create a 1.18 build tree
  • Loading branch information
cloudnull authored Apr 24, 2023
2 parents ca22e36 + aecbbd9 commit 429ad43
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 8 deletions.
53 changes: 53 additions & 0 deletions base-go1.18/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
FROM ghcr.io/oshied/base-build:bionic as bionic
ARG name="base-go1.18"
ARG summary="Base build image for go 1.18.x built on-top of ubuntu Bionic"
LABEL description="${summary}" \
maintainer="cloudnull.io <kevin@cloudnull.com>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="kevin@cloudnull.com" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
ARG GO_URL=https://go.dev/dl/go1.18.10.linux-amd64.tar.gz
RUN rm -rf /usr/local/go
RUN curl -L "$GO_URL" -o /tmp/go-linux-amd64.tar.gz
RUN tar -C /usr/local -xzf /tmp/go-linux-amd64.tar.gz
ENV PATH="$PATH:/usr/local/go/bin"

FROM ghcr.io/oshied/base-build:focal as focal
ARG name="base-go1.18"
ARG summary="Base build image for go 1.18.x built on-top of ubuntu Focal"
LABEL description="${summary}" \
maintainer="cloudnull.io <kevin@cloudnull.com>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="kevin@cloudnull.com" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
ARG GO_URL=https://go.dev/dl/go1.18.10.linux-amd64.tar.gz
RUN rm -rf /usr/local/go
RUN curl -L "$GO_URL" -o /tmp/go-linux-amd64.tar.gz
RUN tar -C /usr/local -xzf /tmp/go-linux-amd64.tar.gz
ENV PATH="$PATH:/usr/local/go/bin"

FROM ghcr.io/oshied/base-build:jammy as jammy
ARG name="base-go1.18"
ARG summary="Base build image for go 1.18.x built on-top of ubuntu Jammy"
LABEL description="${summary}" \
maintainer="cloudnull.io <kevin@cloudnull.com>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="kevin@cloudnull.com" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
ARG GO_URL=https://go.dev/dl/go1.18.10.linux-amd64.tar.gz
RUN rm -rf /usr/local/go
RUN curl -L "$GO_URL" -o /tmp/go-linux-amd64.tar.gz
RUN tar -C /usr/local -xzf /tmp/go-linux-amd64.tar.gz
ENV PATH="$PATH:/usr/local/go/bin"
1 change: 1 addition & 0 deletions base-go1.18/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Base container for go lang 1.18
3 changes: 3 additions & 0 deletions base-go1.18/TARGETS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bionic
focal
jammy
1 change: 1 addition & 0 deletions base-go1.18/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.18.10
6 changes: 3 additions & 3 deletions base-go1.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LABEL description="${summary}" \
org.opencontainers.image.authors="kevin@cloudnull.com" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
ARG GO_URL=https://go.dev/dl/go1.19.7.linux-amd64.tar.gz
ARG GO_URL=https://go.dev/dl/go1.19.8.linux-amd64.tar.gz
RUN rm -rf /usr/local/go
RUN curl -L "$GO_URL" -o /tmp/go-linux-amd64.tar.gz
RUN tar -C /usr/local -xzf /tmp/go-linux-amd64.tar.gz
Expand All @@ -28,7 +28,7 @@ LABEL description="${summary}" \
org.opencontainers.image.authors="kevin@cloudnull.com" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
ARG GO_URL=https://go.dev/dl/go1.19.7.linux-amd64.tar.gz
ARG GO_URL=https://go.dev/dl/go1.19.8.linux-amd64.tar.gz
RUN rm -rf /usr/local/go
RUN curl -L "$GO_URL" -o /tmp/go-linux-amd64.tar.gz
RUN tar -C /usr/local -xzf /tmp/go-linux-amd64.tar.gz
Expand All @@ -46,7 +46,7 @@ LABEL description="${summary}" \
org.opencontainers.image.authors="kevin@cloudnull.com" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
ARG GO_URL=https://go.dev/dl/go1.19.7.linux-amd64.tar.gz
ARG GO_URL=https://go.dev/dl/go1.19.8.linux-amd64.tar.gz
RUN rm -rf /usr/local/go
RUN curl -L "$GO_URL" -o /tmp/go-linux-amd64.tar.gz
RUN tar -C /usr/local -xzf /tmp/go-linux-amd64.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion base-go1.19/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.19.7
1.19.8
6 changes: 3 additions & 3 deletions base-go1.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LABEL description="${summary}" \
org.opencontainers.image.authors="kevin@cloudnull.com" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
ARG GO_URL=https://go.dev/dl/go1.20.2.linux-amd64.tar.gz
ARG GO_URL=https://go.dev/dl/go1.20.3.linux-amd64.tar.gz
RUN rm -rf /usr/local/go
RUN curl -L "$GO_URL" -o /tmp/go-linux-amd64.tar.gz
RUN tar -C /usr/local -xzf /tmp/go-linux-amd64.tar.gz
Expand All @@ -28,7 +28,7 @@ LABEL description="${summary}" \
org.opencontainers.image.authors="kevin@cloudnull.com" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
ARG GO_URL=https://go.dev/dl/go1.20.2.linux-amd64.tar.gz
ARG GO_URL=https://go.dev/dl/go1.20.3.linux-amd64.tar.gz
RUN rm -rf /usr/local/go
RUN curl -L "$GO_URL" -o /tmp/go-linux-amd64.tar.gz
RUN tar -C /usr/local -xzf /tmp/go-linux-amd64.tar.gz
Expand All @@ -46,7 +46,7 @@ LABEL description="${summary}" \
org.opencontainers.image.authors="kevin@cloudnull.com" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
ARG GO_URL=https://go.dev/dl/go1.20.2.linux-amd64.tar.gz
ARG GO_URL=https://go.dev/dl/go1.20.3.linux-amd64.tar.gz
RUN rm -rf /usr/local/go
RUN curl -L "$GO_URL" -o /tmp/go-linux-amd64.tar.gz
RUN tar -C /usr/local -xzf /tmp/go-linux-amd64.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion base-go1.20/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.20.2
1.20.3

0 comments on commit 429ad43

Please sign in to comment.