-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ensure that al2 image is actually al2 (#313)
- Loading branch information
1 parent
31307c8
commit 42d15ba
Showing
7 changed files
with
145 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
FROM amazonlinux:2023 | ||
|
||
|
||
############################################################################### | ||
# Install prereqs | ||
############################################################################### | ||
RUN yum -y update \ | ||
&& yum -y install \ | ||
tar \ | ||
git \ | ||
sudo \ | ||
# Python | ||
python3 \ | ||
python3-devel \ | ||
python3-pip \ | ||
make \ | ||
gcc \ | ||
gcc-c++ \ | ||
which \ | ||
&& yum clean all \ | ||
&& rm -rf /var/cache/yum | ||
|
||
############################################################################### | ||
# Python/AWS CLI | ||
############################################################################### | ||
RUN python3 -m pip install setuptools virtualenv \ | ||
&& python3 -m pip install --upgrade awscli \ | ||
&& aws --version | ||
|
||
############################################################################### | ||
# Install pre-built CMake | ||
############################################################################### | ||
WORKDIR /tmp | ||
RUN curl -sSL https://d19elf31gohf1l.cloudfront.net/_binaries/cmake/cmake-3.13-manylinux1-x64.tar.gz -o cmake.tar.gz \ | ||
&& tar xvzf cmake.tar.gz -C /usr/local \ | ||
&& cmake --version \ | ||
&& ctest --version \ | ||
&& rm -f /tmp/cmake.tar.gz | ||
|
||
############################################################################### | ||
# Install entrypoint | ||
############################################################################### | ||
ADD entrypoint.sh /usr/local/bin/builder | ||
RUN chmod a+x /usr/local/bin/builder | ||
ENTRYPOINT ["/usr/local/bin/builder"] |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
autopep8: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout Source | ||
|
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