-
-
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.
Various updates for docker images (#466)
- Loading branch information
Showing
13 changed files
with
28 additions
and
27 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
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 |
---|---|---|
@@ -1,26 +1,27 @@ | ||
FROM ghcr.io/rake-compiler/rake-compiler-dock-image:1.6.0-mri-x86_64-linux | ||
|
||
ENV RUBY_CC_VERSION="3.3.0:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0" \ | ||
ENV RUBY_CC_VERSION="3.4.0:3.3.0:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0" \ | ||
RUBY_TARGET="x86_64-linux" \ | ||
RUST_TARGET="x86_64-unknown-linux-gnu" \ | ||
RUSTUP_DEFAULT_TOOLCHAIN="stable" \ | ||
PKG_CONFIG_ALLOW_CROSS="1" \ | ||
RUSTUP_HOME="/usr/local/rustup" \ | ||
CARGO_HOME="/usr/local/cargo" \ | ||
PATH="/usr/local/cargo/bin:$PATH" \ | ||
LIBCLANG_PATH="/opt/rh/llvm-toolset-7/root/usr/lib64" \ | ||
CC_x86_64_unknown_linux_gnu="x86_64-redhat-linux-gcc" \ | ||
CXX_x86_64_unknown_linux_gnu="x86_64-redhat-linux-g++" \ | ||
AR_x86_64_unknown_linux_gnu="ar" \ | ||
BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu="--sysroot=/usr -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include" \ | ||
CMAKE_x86_64_unknown_linux_gnu="/opt/cmake/bin/cmake" | ||
LIBCLANG_PATH="/usr/lib/llvm-12/lib" \ | ||
CC_x86_64_unknown_linux_gnu="x86_64-linux-gnu-gcc" \ | ||
CXX_x86_64_unknown_linux_gnu="x86_64-linux-gnu-g++" \ | ||
AR_x86_64_unknown_linux_gnu="x86_64-linux-gnu-ar" \ | ||
BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu="--sysroot=/usr/x86_64-linux-gnu/" \ | ||
PKG_CONFIG_PATH_aarch64_unknown_linux_gnu="/usr/lib/x86_64-linux-gnu/pkgconfig" \ | ||
CMAKE_x86_64_unknown_linux_gnu="/opt/cmake/bin/cmake" \ | ||
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER="x86_64-linux-gnu-gcc" | ||
|
||
COPY setup/lib.sh setup/rustup.sh setup/rubygems.sh setup/cmake.sh setup/rubybashrc.sh setup/rb-sys-dock.sh / | ||
|
||
RUN bash -c "source /lib.sh && install_packages llvm-toolset-7" && \ | ||
RUN bash -c "source /lib.sh && install_packages libclang-12-dev llvm-12-dev clang-12 libc6-amd64-cross libc6-dev-amd64-cross" && \ | ||
/rustup.sh && \ | ||
/rubygems.sh && \ | ||
/cmake.sh && \ | ||
/rubybashrc.sh && \ | ||
/rb-sys-dock.sh && \ | ||
rm -rf /var/cache/yum | ||
/rb-sys-dock.sh |
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