Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
  • Loading branch information
gitworkflows authored Aug 14, 2024
1 parent eabb6ad commit 36d1cec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build-environment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ ENV \
# Activate better exceptions (for python)
BETTER_EXCEPTIONS=1

# Install universal build from distribution
# Install ml buildkit from distribution
# hadolint ignore=DL3010
COPY ./resources/ml-buildkit.tar.gz $RESOURCES_PATH/ml-buildkit.tar.gz
# hadolint ignore=DL3013
Expand All @@ -149,7 +149,8 @@ RUN curl -fsSL https://github.com/hadolint/hadolint/releases/download/v2.8.0/had
# https://github.com/aquasecurity/trivy
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b /usr/local/bin

COPY ./resources/entrypoint.sh $RESOURCES_PATH/entrypoint.sh \
&& chmod +x $RESOURCES_PATH/entrypoint.sh
COPY ./resources/entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/tini", "-g", "--", "/entrypoint.sh"]

0 comments on commit 36d1cec

Please sign in to comment.