-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab3a095
commit e9617ea
Showing
1 changed file
with
7 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. | ||
# See the License for the specific language governing permissions and limitations under the License. | ||
|
||
FROM public.ecr.aws/amazonlinux/amazonlinux:2 | ||
FROM public.ecr.aws/amazonlinux/amazonlinux:2023 | ||
|
||
ENV AWS_DEFAULT_REGION="us-east-1" | ||
ARG aws_env | ||
|
@@ -18,12 +18,13 @@ ARG CALCLOUD_VER | |
# Install git, SSH, and other utilities | ||
RUN set -ex \ | ||
&& yum update -y --security \ | ||
&& yum install -y gcc libpng-devel libjpeg-devel unzip yum-utils \ | ||
&& yum install -y gcc libpng-devel libjpeg-devel unzip yum-utils \ | ||
&& yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo \ | ||
&& yum install terraform-1.0.11 -y \ | ||
&& yum install git -y \ | ||
&& yum install tar wget python3 which -y | ||
|
||
&& yum install tar wget python3 which -y \ | ||
&& yum install python3-pip -y | ||
|
||
RUN mkdir -p /etc/ssl/certs && \ | ||
mkdir -p /etc/pki/ca-trust/source/anchors | ||
|
||
|
@@ -44,7 +45,7 @@ RUN npm install n -g | |
|
||
RUN npm config set registry http://registry.npmjs.org/ && \ | ||
npm install -g [email protected] | ||
|
||
RUN pip3 install awscli | ||
|
||
COPY calcloud_checkout.sh /root/ | ||
|
@@ -53,5 +54,4 @@ RUN chmod +x /root/calcloud_checkout.sh && /root/calcloud_checkout.sh | |
|
||
COPY log_listener.py /root/ | ||
|
||
ENTRYPOINT [ "/bin/bash", "-l", "-c" ] | ||
|
||
ENTRYPOINT [ "/bin/bash", "-l", "-c" ] |