Skip to content

Commit

Permalink
Merge pull request #964 from provenance-io/update-docker-images-from-…
Browse files Browse the repository at this point in the history
…buster-to-bullseye

update docker images from buster to bullseye
  • Loading branch information
nullpointer0x00 authored Jul 22, 2022
2 parents a2aebd5 + 09940c4 commit be0dc99
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Ref: https://keepachangelog.com/en/1.0.0/

* Update the swagger files (including third-party changes). [#728](https://github.com/provenance-io/provenance/issues/728)
* Bump IBC to 2.3.0 and update third-party protos [PR 868](https://github.com/provenance-io/provenance/pull/868)
* Update docker images from `buster` to b`bullseye` [#963](https://github.com/provenance-io/provenance/issues/963)

### Bug Fixes

Expand Down
4 changes: 2 additions & 2 deletions client/rosetta/rosetta-ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17-buster as build
FROM golang:1.17-bullseye as build
ARG VERSION

WORKDIR /go/src/github.com/provenance-io/provenance
Expand Down Expand Up @@ -27,7 +27,7 @@ WORKDIR /testrosetta
RUN provenanced testnet -t --v 1 -o . --starting-ip-address=0.0.0.0 --keyring-backend=test --chain-id=chain-local

###
FROM debian:buster-slim
FROM debian:bullseye-slim
ENV LOCALNET=1

RUN apt-get update && \
Expand Down
4 changes: 2 additions & 2 deletions docker/blockchain/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17-buster as build
FROM golang:1.17-bullseye as build
ARG VERSION

WORKDIR /go/src/github.com/provenance-io/provenance
Expand Down Expand Up @@ -26,7 +26,7 @@ ENV VERSION=$VERSION
RUN make VERSION=${VERSION} install

###
FROM debian:buster-slim as run
FROM debian:bullseye-slim as run

RUN apt-get update && \
apt-get upgrade -y && \
Expand Down
4 changes: 2 additions & 2 deletions networks/dev/blockchain-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This docker file builds a test image using binaries built locally.
# Use `make docker-build-local` to build or `make localnet-start` to
# start the test network and `make localnet-stop` to stop it.
FROM golang:1.17-buster as build
FROM golang:1.17-bullseye as build
WORKDIR /go/src/github.com/provenance-io/provenance
ENV GOPRIVATE=github.com/provenance-io
RUN apt-get update && apt-get upgrade -y && apt-get install -y libleveldb-dev
Expand All @@ -21,7 +21,7 @@ RUN go build -mod vendor \
-o /go/bin/ ./cmd/...

###
FROM debian:buster-slim
FROM debian:bullseye-slim
ENV LOCALNET=1

RUN apt-get update && \
Expand Down
8 changes: 4 additions & 4 deletions networks/local/blockchain-local/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# start the test network and `make localnet-stop` to stop it.

## Build provenance for x86_64
FROM golang:1.17-buster as build-x86_64
FROM golang:1.17-bullseye as build-x86_64
WORKDIR /go/src/github.com/provenance-io/provenance
ENV GOPRIVATE=github.com/provenance-io
RUN apt-get update && apt-get upgrade -y && apt-get install -y libleveldb-dev
Expand All @@ -20,7 +20,7 @@ COPY vendor/ ./vendor/
RUN go build -mod vendor -tags=cleveldb -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/version.Name=Provenance-Blockchain' -o /go/bin/ ./cmd/...

## Run provenance for x86_64
FROM debian:buster-slim as provenance-x86_64
FROM debian:bullseye-slim as provenance-x86_64
ENV LOCALNET=1
ENV LD_LIBRARY_PATH="/usr/local/lib"

Expand Down Expand Up @@ -52,7 +52,7 @@ CMD ["start"]


## Build provenance for ARM
FROM golang:1.17-buster as build-arm64
FROM golang:1.17-bullseye as build-arm64
WORKDIR /go/src/github.com/provenance-io/provenance
ENV GOPRIVATE=github.com/provenance-io
RUN apt-get update && apt-get upgrade -y && apt-get install -y libleveldb-dev
Expand All @@ -72,7 +72,7 @@ RUN git clone --depth 1 --branch v1.8.2 https://github.com/edenhill/librdkafka.g
RUN go build -mod vendor -tags=cleveldb,dynamic -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/version.Name=Provenance-Blockchain' -o /go/bin/ ./cmd/...

## Run provenance for ARM
FROM debian:buster-slim as provenance-arm64
FROM debian:bullseye-slim as provenance-arm64
ENV LOCALNET=1
ENV LD_LIBRARY_PATH="/usr/local/lib"
# This is for M1 to find package config
Expand Down

0 comments on commit be0dc99

Please sign in to comment.