-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This updates the base image and the python lib versions. I needed to do this because I encountered this bug in aws-cdk: aws/aws-cdk#14738 Just doing the workaround inside a Dockerfile based on `contino/aws-cdk` did not work for me. But rebuilding the image itself did. Related PR: contino/docker-aws-cdk#6 **Don't merge before the above PR is merged and the new image released**
- Loading branch information
Showing
5 changed files
with
43 additions
and
23 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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# 63f74cd56d17 | ||
FROM contino/aws-cdk:latest | ||
FROM contino/aws-cdk:1.134.0 | ||
|
||
RUN npm install -g aws-cdk | ||
RUN python3 -m venv /venv | ||
COPY requirements.txt /setup/requirements.txt | ||
COPY setup.py /setup/setup.py | ||
COPY README.md /setup/ | ||
COPY cdk_emqx_cluster /setup/cdk_emqx_cluster | ||
RUN cd /setup/ && source /venv/bin/activate && pip install --upgrade pip && pip3 install -r requirements.txt | ||
RUN cd /setup/ \ | ||
&& source /venv/bin/activate \ | ||
&& pip3 install --upgrade pip \ | ||
&& pip3 install -r requirements.txt | ||
COPY bin/container-entrypoint.sh /container-entrypoint.sh | ||
ENTRYPOINT ["/container-entrypoint.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
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