File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed
Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ pkgs+=(net-tools) # Dependency for debugging network issues.
5555pkgs+=(ninja-build) # Required build tool.
5656pkgs+=(python3-venv) # Python environment management tool.
5757pkgs+=(python3-pip) # Package manager for Python applications.
58+ pkgs+=(unzip) # Dependency for tools requiring unzipping files.
5859pkgs+=(vim) # Text editor.
5960pkgs+=(wget) # Required build tool.
6061apt-get update
@@ -86,8 +87,18 @@ tar -xzf mold.tar.gz --strip-components=1 -C /usr/local
8687rm mold.tar.gz
8788EOF
8889
90+ # Install AWS CLI for uploading build artifacts to S3.
91+ RUN <<EOF
92+ ARCH=$(uname -m)
93+ wget -O awscli.zip https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}.zip
94+ unzip awscli.zip
95+ ./aws/install
96+ rm -rf awscli.zip aws
97+ EOF
98+
8999# Print versions.
90100RUN <<EOF
101+ aws --version
91102ccache --version
92103cmake --version
93104conan --version
Original file line number Diff line number Diff line change 5454pkgs+=(python3.12) # Required build tool.
5555pkgs+=(python3.12-pip) # Package manager for Python applications.
5656pkgs+=(rpm-build) # Required packaging tool.
57+ pkgs+=(unzip) # Dependency for tools requiring unzipping files.
5758pkgs+=(vim) # Text editor.
5859pkgs+=(wget) # Required build tool.
5960dnf update -y
@@ -100,8 +101,18 @@ tar -xzf mold.tar.gz --strip-components=1 -C /usr/local
100101rm mold.tar.gz
101102EOF
102103
104+ # Install AWS CLI for uploading build artifacts to S3.
105+ RUN <<EOF
106+ ARCH=$(uname -m)
107+ wget -O awscli.zip https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}.zip
108+ unzip awscli.zip
109+ ./aws/install
110+ rm -rf awscli.zip aws
111+ EOF
112+
103113# Print versions.
104114RUN <<EOF
115+ aws --version
105116ccache --version
106117cmake --version
107118conan --version
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ pkgs+=(net-tools) # Dependency for debugging network issues.
4141pkgs+=(ninja-build) # Required build tool.
4242pkgs+=(python3-venv) # Python environment management tool.
4343pkgs+=(python3-pip) # Package manager for Python applications.
44+ pkgs+=(unzip) # Dependency for tools requiring unzipping files.
4445pkgs+=(vim) # Text editor.
4546pkgs+=(wget) # Required build tool.
4647apt-get update
@@ -72,8 +73,18 @@ tar -xzf mold.tar.gz --strip-components=1 -C /usr/local
7273rm mold.tar.gz
7374EOF
7475
76+ # Install AWS CLI for uploading build artifacts to S3.
77+ RUN <<EOF
78+ ARCH=$(uname -m)
79+ wget -O awscli.zip https://awscli.amazonaws.com/awscli-exe-linux-${ARCH}.zip
80+ unzip awscli.zip
81+ ./aws/install
82+ rm -rf awscli.zip aws
83+ EOF
84+
7585# Print versions.
7686RUN <<EOF
87+ aws --version
7788ccache --version
7889cmake --version
7990conan --version
You can’t perform that action at this time.
0 commit comments