Skip to content

Commit 5edd1fe

Browse files
committed
Update buildpacks to include jq and cmake v3.22.2
1 parent 81e6123 commit 5edd1fe

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

scripts/docker/buildpack-deps/Dockerfile.ubuntu1604.clang.ossfuzz

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# (c) 2016-2021 solidity contributors.
2323
#------------------------------------------------------------------------------
2424
FROM gcr.io/oss-fuzz-base/base-clang:latest as base
25-
LABEL version="15"
25+
LABEL version="16"
2626

2727
ARG DEBIAN_FRONTEND=noninteractive
2828

@@ -32,14 +32,14 @@ RUN apt-get update; \
3232
software-properties-common \
3333
ninja-build git wget \
3434
libbz2-dev zlib1g-dev git curl uuid-dev \
35-
pkg-config openjdk-8-jdk liblzma-dev unzip mlton m4; \
35+
pkg-config openjdk-8-jdk liblzma-dev unzip mlton m4 jq; \
3636
apt-get install -qy python3-pip;
3737

38-
# Install cmake 3.21.2 (minimum requirement is cmake 3.10)
39-
RUN wget https://github.com/Kitware/CMake/releases/download/v3.21.2/cmake-3.21.2-Linux-x86_64.sh; \
40-
test "$(sha256sum cmake-3.21.2-Linux-x86_64.sh)" = "3310362c6fe4d4b2dc00823835f3d4a7171bbd73deb7d059738494761f1c908c cmake-3.21.2-Linux-x86_64.sh"; \
41-
chmod +x cmake-3.21.2-Linux-x86_64.sh; \
42-
./cmake-3.21.2-Linux-x86_64.sh --skip-license --prefix="/usr"
38+
# Install cmake 3.22.2 (minimum requirement is cmake 3.10)
39+
RUN wget https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-x86_64.sh; \
40+
test "$(sha256sum cmake-3.22.2-linux-x86_64.sh)" = "faaa0465b72fe467fa193954c9bb67141048a2c7acc3236975ac20fdf241582e cmake-3.22.2-linux-x86_64.sh"; \
41+
chmod +x cmake-3.22.2-linux-x86_64.sh; \
42+
./cmake-3.22.2-linux-x86_64.sh --skip-license --prefix="/usr"
4343

4444
FROM base AS libraries
4545

scripts/docker/buildpack-deps/Dockerfile.ubuntu2004

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# (c) 2016-2019 solidity contributors.
2323
#------------------------------------------------------------------------------
2424
FROM buildpack-deps:focal AS base
25-
LABEL version="10"
25+
LABEL version="11"
2626

2727
ARG DEBIAN_FRONTEND=noninteractive
2828

@@ -37,12 +37,18 @@ RUN set -ex; \
3737
cmake ninja-build \
3838
libboost-filesystem-dev libboost-test-dev libboost-system-dev \
3939
libboost-program-options-dev \
40-
libcvc4-dev libz3-static-dev z3-static \
40+
libcvc4-dev libz3-static-dev z3-static jq \
4141
; \
4242
apt-get install -qy python3-pip python3-sphinx; \
4343
pip3 install codecov; \
4444
rm -rf /var/lib/apt/lists/*
4545

46+
# Install cmake 3.22.2 (minimum requirement is cmake 3.10)
47+
RUN wget https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-x86_64.sh; \
48+
test "$(sha256sum cmake-3.22.2-linux-x86_64.sh)" = "faaa0465b72fe467fa193954c9bb67141048a2c7acc3236975ac20fdf241582e cmake-3.22.2-linux-x86_64.sh"; \
49+
chmod +x cmake-3.22.2-linux-x86_64.sh; \
50+
./cmake-3.22.2-linux-x86_64.sh --skip-license --prefix="/usr"
51+
4652
FROM base AS libraries
4753

4854
# EVMONE

scripts/docker/buildpack-deps/Dockerfile.ubuntu2004.clang

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# (c) 2016-2019 solidity contributors.
2323
#------------------------------------------------------------------------------
2424
FROM buildpack-deps:focal AS base
25-
LABEL version="10"
25+
LABEL version="11"
2626

2727
ARG DEBIAN_FRONTEND=noninteractive
2828

@@ -38,10 +38,16 @@ RUN set -ex; \
3838
libboost-filesystem-dev libboost-test-dev libboost-system-dev \
3939
libboost-program-options-dev \
4040
clang \
41-
libz3-static-dev \
41+
libz3-static-dev jq \
4242
; \
4343
rm -rf /var/lib/apt/lists/*
4444

45+
# Install cmake 3.22.2 (minimum requirement is cmake 3.10)
46+
RUN wget https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-x86_64.sh; \
47+
test "$(sha256sum cmake-3.22.2-linux-x86_64.sh)" = "faaa0465b72fe467fa193954c9bb67141048a2c7acc3236975ac20fdf241582e cmake-3.22.2-linux-x86_64.sh"; \
48+
chmod +x cmake-3.22.2-linux-x86_64.sh; \
49+
./cmake-3.22.2-linux-x86_64.sh --skip-license --prefix="/usr"
50+
4551
FROM base AS libraries
4652

4753
ENV CC clang

0 commit comments

Comments
 (0)