Skip to content

Commit

Permalink
Add new version for berachain, update none/Dockerfile to use bookworm…
Browse files Browse the repository at this point in the history
… (#217)
  • Loading branch information
vimystic authored Mar 26, 2024
1 parent 8d77f13 commit 19e129a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@
pre-build: |
apt update -y
apt install -y wget libstdc++6
wget -qq 'https://berad-private.s3.us-east-2.amazonaws.com/berad-linux-amd64-v0.0.6-alpha?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXIHH4ECZJT5YBQR6%2F20231228%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20231228T170607Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=56ccce6310ea364bc78f4089b86749e9f642723ab49bf836dd7d544c55f120b6' -O berad
curl -o berad 'https://testnet-genesis.s3.ca-central-1.amazonaws.com/berad-linux-amd64-v0.2.3-alpha-rc7
chmod +x berad
mv berad /usr/bin
chmod 555 /usr/bin/berad
binaries:
Expand Down
5 changes: 3 additions & 2 deletions dockerfile/none/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:bullseye AS build-env
FROM golang:bookworm AS build-env
# FROM ubuntu:22.04

ARG PRE_BUILD
Expand Down Expand Up @@ -33,14 +33,15 @@ ARG LIBRARIES
ENV LIBRARIES_ENV ${LIBRARIES}
RUN bash -c 'LIBRARIES_ARR=($LIBRARIES_ENV); for LIBRARY in "${LIBRARIES_ARR[@]}"; do cp $LIBRARY /root/lib/; done'

FROM debian:bullseye
FROM debian:bookworm
# FROM ubuntu:22.04

LABEL org.opencontainers.image.source="https://github.com/strangelove-ventures/heighliner"

# Install binaries
COPY --from=build-env /root/bin /usr/bin


# Install libraries
COPY --from=build-env /root/lib /usr/lib

Expand Down

0 comments on commit 19e129a

Please sign in to comment.