Fix Docker image failing to start Besu with NoClassDefFoundError for org.xerial.snappy.Snappy (#5462)

Signed-off-by: Jason Frame <jason.frame@consensys.net>
This commit is contained in:
Jason Frame
2023-05-17 12:29:32 +10:00
committed by GitHub
parent c85841d308
commit 9b06f127a2
4 changed files with 9 additions and 4 deletions

View File

@@ -15,6 +15,7 @@
### Bug Fixes
- Fix eth_feeHistory response for the case in which blockCount is higher than highestBlock requested. [#5397](https://github.com/hyperledger/besu/pull/5397)
- Fix Besu Docker image failing to start due to NoClassDefFoundError with org.xerial.snappy.Snappy library. [#5462](https://github.com/hyperledger/besu/pull/5462)
### Download Links
@@ -28,6 +29,7 @@
- Remove launcher command line utility [#5355](https://github.com/hyperledger/besu/pull/5355)
- Remove deprecated `tx-pool-future-max-by-account` option, see instead: `tx-pool-limit-by-account-percentage` [#5361](https://github.com/hyperledger/besu/pull/5361)
- Default configuration for the deprecated ECIP-1049 network has been removed from the CLI network list [#5371](https://github.com/hyperledger/besu/pull/5371)
- Besu now requires glibc 2.32 or later to run. Ubuntu 20.04 users will need to update to a newer version of Ubuntu, 22.04 or later to run Besu
### Additions and Improvements
- An alternate build target for the EVM using GraalVM AOT compilation was added. [#5192](https://github.com/hyperledger/besu/pull/5192)

View File

@@ -1,9 +1,10 @@
FROM ubuntu:20.04
FROM ubuntu:22.04
ARG VERSION="dev"
RUN apt-get update && \
apt-get install --no-install-recommends -q --assume-yes curl=7* wget=1.20* jq=1.6* net-tools=1.60* openjdk-17-jdk-headless=17* libjemalloc-dev=5.* && \
apt-get install --no-install-recommends -q --assume-yes ca-certificates-java=20190909 && \
apt-get install --no-install-recommends -q --assume-yes curl=7* wget=1.21* jq=1.6* net-tools=1.60* openjdk-17-jdk-headless=17* libjemalloc-dev=5.* && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
adduser --disabled-password --gecos "" --home /opt/besu besu && \

View File

@@ -1,8 +1,9 @@
FROM ubuntu:20.04
FROM ubuntu:22.04
ARG VERSION="dev"
RUN apt-get update && \
apt-get install --no-install-recommends -q --assume-yes ca-certificates-java=20190909 && \
apt-get install --no-install-recommends -q --assume-yes openjdk-17-jre-headless=17* libjemalloc-dev=5.* && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \

View File

@@ -1,8 +1,9 @@
FROM ubuntu:20.04
FROM ubuntu:22.04
ARG VERSION="dev"
RUN apt-get update && \
apt-get install --no-install-recommends -q --assume-yes ca-certificates-java=20190909 && \
apt-get install --no-install-recommends -q --assume-yes openjdk-17-jre-headless=17* && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \