From 96be66ede4d2fbb659fbdc646c765c21f5637c7b Mon Sep 17 00:00:00 2001 From: Anmol Date: Thu, 19 Oct 2023 21:20:37 +0530 Subject: [PATCH] add union docker image (#287) --- docker/chains/Dockerfile.union | 22 ++++++++++++++++++++++ docker/chains/versions.yaml | 7 +++++++ 2 files changed, 29 insertions(+) create mode 100644 docker/chains/Dockerfile.union diff --git a/docker/chains/Dockerfile.union b/docker/chains/Dockerfile.union new file mode 100644 index 000000000..0d78391db --- /dev/null +++ b/docker/chains/Dockerfile.union @@ -0,0 +1,22 @@ +ARG BASE_IMAGE +ARG VERSION +FROM ${BASE_IMAGE}:${VERSION} AS source + +FROM alpine:3.16 + +LABEL org.opencontainers.image.source="https://github.com/cosmology-tech/starship" + +COPY --from=source /nix/store/*/bin/uniond /usr/bin + +USER root + +# Setup injective deps +RUN apk add --no-cache libgcc libstdc++ ncurses-libs + +# Set up dependencies +ENV PACKAGES curl make bash jq sed + +# Install minimum necessary dependencies +RUN apk add --no-cache $PACKAGES + +WORKDIR /opt diff --git a/docker/chains/versions.yaml b/docker/chains/versions.yaml index ca52d3231..e1ba64de9 100644 --- a/docker/chains/versions.yaml +++ b/docker/chains/versions.yaml @@ -267,3 +267,10 @@ chains: base: ghcr.io/strangelove-ventures/heighliner/neutron tags: - v1.0.4 + - name: union + base: ghcr.io/unionlabs/uniond + file: Dockerfile.union + tags: + - v0.13.1 + - v0.13.0 + - v0.12.0