-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor docker scripts and make WasmEdge default (#1902)
* Refactor Docker scripts * Make WasmEdge default * Add libgmp to kagome docker images * Add libgmp to kagome-dev * Change kagome-dev image
- Loading branch information
Showing
11 changed files
with
40 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ FROM bitnami/minideb@sha256:c84aa349081c182fbaa92434eb6f6a0e14e69fc70aa1a5af2c7a | |
MAINTAINER Vladimir Shcherba <[email protected]> | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
ENV KAGOME_IN_DOCKER=1 | ||
|
||
# add some required tools | ||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
|
@@ -71,6 +74,7 @@ RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o / | |
ccache \ | ||
lcov \ | ||
zlib1g-dev \ | ||
libgmp10 \ | ||
unzip && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
|
@@ -114,32 +118,32 @@ ENV CXX=g++-12 | |
|
||
RUN update-alternatives --install /usr/bin/python python /venv/bin/python3 90 && \ | ||
update-alternatives --install /usr/bin/python python /usr/bin/python3 80 && \ | ||
|
||
\ | ||
update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-11 90 && \ | ||
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-11 90 && \ | ||
update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-11/bin/clang-11 90 && \ | ||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-11 90 && \ | ||
|
||
\ | ||
update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-12 80 && \ | ||
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-12 80 && \ | ||
update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-12/bin/clang-12 80 && \ | ||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 80 && \ | ||
|
||
\ | ||
update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-13 70 && \ | ||
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-13 70 && \ | ||
update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-13/bin/clang-13 70 && \ | ||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-13 70 && \ | ||
|
||
\ | ||
update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-14 60 && \ | ||
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-14 60 && \ | ||
update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-14/bin/clang-14 60 && \ | ||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 60 && \ | ||
|
||
\ | ||
update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-15 50 && \ | ||
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 50 && \ | ||
update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-15/bin/clang-15 50 && \ | ||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 50 && \ | ||
|
||
\ | ||
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 90 && \ | ||
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 90 && \ | ||
update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-12 90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters