Skip to content

Commit

Permalink
✨ Add ONBUILD to DaaP Python Base (#2256)
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <[email protected]>
  • Loading branch information
Jacob Woffenden authored and mitchdawson1982 committed Nov 8, 2023
1 parent c546081 commit 7315785
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion containers/daap-python-base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- update Dockerfile COPY command fixing `LAMBDA_TASK_ROOT` typo
## [6.0.0] - 2023-11-07

### Changed

- Adds `ONBUILD` for downstream images

## [5.4.0] - 2023-11-02

Expand Down
10 changes: 9 additions & 1 deletion containers/daap-python-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,13 @@ ENV BASE_VERSION="${VERSION}"

COPY src/var/task ${LAMBDA_TASK_ROOT}

RUN python -m pip install --no-cache-dir --upgrade pip==23.2.1 \
RUN yum update --security --assumeyes \
&& yum clean all \
&& rm -rf /var/cache/yum

RUN python -m pip install --no-cache-dir --upgrade pip==23.3.1 \
&& python -m pip install --no-cache-dir --requirement requirements.txt

ONBUILD RUN yum update --security --assumeyes \
&& yum clean all \
&& rm -rf /var/cache/yum
2 changes: 1 addition & 1 deletion containers/daap-python-base/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "daap-python-base",
"version": "5.4.0",
"version": "6.0.0",
"registry": "ghcr"
}

0 comments on commit 7315785

Please sign in to comment.