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

Commit

Permalink
rebuild base-envs
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Carter <[email protected]>
  • Loading branch information
cloudnull committed Oct 28, 2022
1 parent 5c5ade0 commit 33a3b1f
Show file tree
Hide file tree
Showing 38 changed files with 99 additions and 99 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export CONTAINER_TAG="$(sed 's/[[:space:]]//g' VERSION)" # Ensures that the ver
export PROTOCOL_NAME="$(basename $(pwd))"

# Set the build maintainer. If you build a package, claim credit for it.
export BUILD_MAINTAINER="Kevin Carter <kevin@cloudnull.io>"
export BUILD_MAINTAINER="Kevin Carter <kevin@cloudnull.com>"

# Set the ExecStart path. CI will set this option to the first item in the MANIFEST but you can
# define it to be anything you want.
Expand All @@ -179,7 +179,7 @@ mkdir /tmp/packages
mkdir /tmp/binaries

# Pull the contents of the manifest from the current container version
CONTAINER="$(docker create cloudnull/${PROTOCOL_NAME}:${CONTAINER_TAG} ${PROTOCOL_NAME})"
CONTAINER="$(docker create ghcr.io/oshied/${PROTOCOL_NAME}:${CONTAINER_TAG} ${PROTOCOL_NAME})"
for FILE_NAME in $(sed 's/[[:space:]]//g' MANIFEST | tr '\n' ' '); do
BASE_FILE_NAME="$(basename ${FILE_NAME})"
mkdir -p "/tmp/binaries/$(dirname ${FILE_NAME})"
Expand All @@ -194,7 +194,7 @@ docker run -t --volume /tmp/packages:/packages:rw \
--env PROTOCOL_NAME="${PROTOCOL_NAME}" \
--env BUILD_EXEC="${BUILD_EXEC}" \
--env BUILD_MAINTAINER="${BUILD_MAINTAINER}" \
cloudnull/base-dpkg:jammy \
ghcr.io/oshied/base-dpkg:jammy \
/srv/build-deb.sh
```

Expand Down
4 changes: 2 additions & 2 deletions acala/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudnull/base-rustup:bionic as BUILD
FROM ghcr.io/oshied/base-rustup:bionic as BUILD
ARG git_repository=https://github.com/AcalaNetwork/Acala
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -17,7 +17,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
4 changes: 2 additions & 2 deletions agoric-ag0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudnull/base-go1.19:bionic as BUILD
FROM ghcr.io/oshied/base-go1.19:bionic as BUILD
ARG git_repository=https://github.com/Agoric/ag0
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -16,7 +16,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
6 changes: 3 additions & 3 deletions agoric/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM cloudnull/base-go1.19:bionic as GO_BUILD
FROM ghcr.io/oshied/base-go1.19:bionic as GO_BUILD

FROM cloudnull/base-nodejs-lts:bionic as BUILD
FROM ghcr.io/oshied/base-nodejs-lts:bionic as BUILD
ARG git_repository=https://github.com/Agoric/agoric-sdk
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -23,7 +23,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
4 changes: 2 additions & 2 deletions akash/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudnull/base-go1.19:bionic as BUILD
FROM ghcr.io/oshied/base-go1.19:bionic as BUILD
ARG git_repository=https://github.com/ovrclk/akash
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -17,7 +17,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
4 changes: 2 additions & 2 deletions althea/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudnull/base-go1.19:bionic as BUILD
FROM ghcr.io/oshied/base-go1.19:bionic as BUILD
ARG git_repository=https://github.com/althea-net/althea-chain
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -14,7 +14,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
4 changes: 2 additions & 2 deletions aptos/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudnull/base-go1.19:focal as BUILD
FROM ghcr.io/oshied/base-go1.19:focal as BUILD
ARG git_repository=https://github.com/aptos-labs/aptos-core
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -17,7 +17,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
8 changes: 4 additions & 4 deletions arbitrum/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM cloudnull/base-rocksdb:focal-v6.29.3 as BUILD_ROCKS
FROM ghcr.io/oshied/base-rocksdb:focal-v6.29.3 as BUILD_ROCKS

FROM cloudnull/base-go1.19:focal as BUILD_GO
FROM ghcr.io/oshied/base-go1.19:focal as BUILD_GO

FROM cloudnull/base-nodejs-lts:focal as BUILD
FROM ghcr.io/oshied/base-nodejs-lts:focal as BUILD
WORKDIR /usr/local/lib
COPY --from=BUILD_ROCKS /usr/local/lib /usr/local/lib
WORKDIR /usr/local/include
Expand Down Expand Up @@ -49,7 +49,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
4 changes: 2 additions & 2 deletions archway/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudnull/base-go1.19:bionic as BUILD
FROM ghcr.io/oshied/base-go1.19:bionic as BUILD
ARG git_repository=https://github.com/archway-network/archway
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -17,7 +17,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
4 changes: 2 additions & 2 deletions avalanche/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudnull/base-go1.19:bionic as BUILD
FROM ghcr.io/oshied/base-go1.19:bionic as BUILD
ARG git_repository=https://github.com/ava-labs/avalanchego
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -16,7 +16,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
4 changes: 2 additions & 2 deletions axelar/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudnull/base-go1.19:bionic as BUILD
FROM ghcr.io/oshied/base-go1.19:bionic as BUILD
ARG git_repository=https://github.com/axelarnetwork/axelar-core
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -16,7 +16,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
4 changes: 2 additions & 2 deletions band/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudnull/base-go1.19:bionic as BUILD
FROM ghcr.io/oshied/base-go1.19:bionic as BUILD
ARG git_repository=https://github.com/bandprotocol/chain
ARG git_version=main
RUN git clone --recursive --branch $git_version $git_repository /build_dir
Expand All @@ -19,7 +19,7 @@ LABEL description="${summary}" \
app.kubernetes.io/version="${git_version}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.revision="${git_version}" \
org.opencontainers.image.source="${git_repository}" \
Expand Down
12 changes: 6 additions & 6 deletions base-dpkg/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM cloudnull/base-build:bionic as bionic
FROM ghcr.io/oshied/base-build:bionic as bionic
ARG name="base-dpkg"
ARG summary="DPKG build environment"
LABEL description="${summary}" \
maintainer="cloudnull.io <[email protected]>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
Expand All @@ -17,15 +17,15 @@ COPY --chmod=0755 debian/postinst /dpgk/DEBIAN/postinst
COPY --chmod=0755 debian/postinst /dpgk/DEBIAN/postrm
WORKDIR /packages

FROM cloudnull/base-build:focal as focal
FROM ghcr.io/oshied/base-build:focal as focal
ARG name="base-dpkg"
ARG summary="DPKG build environment"
LABEL description="${summary}" \
maintainer="cloudnull.io <[email protected]>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
Expand All @@ -36,15 +36,15 @@ COPY --chmod=0755 debian/postinst /dpgk/DEBIAN/postinst
COPY --chmod=0755 debian/postinst /dpgk/DEBIAN/postrm
WORKDIR /packages

FROM cloudnull/base-build:jammy as jammy
FROM ghcr.io/oshied/base-build:jammy as jammy
ARG name="base-dpkg"
ARG summary="DPKG build environment"
LABEL description="${summary}" \
maintainer="cloudnull.io <[email protected]>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
Expand Down
2 changes: 1 addition & 1 deletion base-dpkg/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mkdir -p "/etc/systemd/system/${BUILD_NAME}.service.d"
cat > "/etc/systemd/system/${BUILD_NAME}.service" <<EOF
[Unit]
Description=Container ${BUILD_NAME}
Documentation=https://github.com/cloudnull/protocol-builds
Documentation=https://github.com/oshied/protocol-forge
Documentation=https://cloudnull.io
After=systemd-udev-settle.service
Wants=systemd-udev-settle.service
Expand Down
12 changes: 6 additions & 6 deletions base-go1.19/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM cloudnull/base-build:bionic as bionic
FROM ghcr.io/oshied/base-build:bionic as bionic
ARG name="base-go1.19"
ARG summary="Base build image for go 1.19.x built on-top of ubuntu Bionic"
LABEL description="${summary}" \
maintainer="cloudnull.io <[email protected]>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
Expand All @@ -16,15 +16,15 @@ 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 cloudnull/base-build:focal as focal
FROM ghcr.io/oshied/base-build:focal as focal
ARG name="base-go1.19"
ARG summary="Base build image for go 1.19.x built on-top of ubuntu Focal"
LABEL description="${summary}" \
maintainer="cloudnull.io <[email protected]>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
Expand All @@ -34,15 +34,15 @@ 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 cloudnull/base-build:jammy as jammy
FROM ghcr.io/oshied/base-build:jammy as jammy
ARG name="base-go1.19"
ARG summary="Base build image for go 1.19.x built on-top of ubuntu Jammy"
LABEL description="${summary}" \
maintainer="cloudnull.io <[email protected]>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
Expand Down
12 changes: 6 additions & 6 deletions base-nodejs-lts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
FROM cloudnull/base-build:bionic as bionic
FROM ghcr.io/oshied/base-build:bionic as bionic
ARG name="base-nodejs-lts"
ARG summary="Base build image for nodejs built on-top of ubuntu Bionic"
LABEL description="${summary}" \
maintainer="cloudnull.io <[email protected]>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt install -y nodejs
RUN npm install --global yarn

FROM cloudnull/base-build:focal as focal
FROM ghcr.io/oshied/base-build:focal as focal
ARG name="base-nodejs-lts"
ARG summary="Base build image for nodejs built on-top of ubuntu Focal"
LABEL description="${summary}" \
maintainer="cloudnull.io <[email protected]>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt install -y nodejs
RUN npm install --global yarn

FROM cloudnull/base-build:jammy as jammy
FROM ghcr.io/oshied/base-build:jammy as jammy
ARG name="base-nodejs-lts"
ARG summary="Base build image for nodejs built on-top of ubuntu Jammy"
LABEL description="${summary}" \
maintainer="cloudnull.io <[email protected]>" \
app.kubernetes.io/name="${name}" \
org.opencontainers.image.title="${name}" \
org.opencontainers.artifact.description="${summary}" \
org.opencontainers.image.url="https://github.com/cloudnull/protocol-builds" \
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \
org.opencontainers.image.authors="[email protected]" \
org.opencontainers.image.vendor="cloudnull.io" \
org.opencontainers.image.description="${summary}"
Expand Down
Loading

0 comments on commit 33a3b1f

Please sign in to comment.