Skip to content

Commit

Permalink
(CAT-2120) Update sources with bookworm-backports repo
Browse files Browse the repository at this point in the history
(CAT-2120) Updated Code

(CAT-2120) Updates ENV variables

(CAT-2120) Update condition for debian

(CAT-2120) Updated if statement

(CAT-2120) Update timeout minutes
  • Loading branch information
skyamgarp committed Nov 12, 2024
1 parent 9d43326 commit 7f7a946
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/template_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
images:
needs: select
name: image (${{ matrix.image_tag }})
timeout-minutes: 10
timeout-minutes: 60
permissions:
contents: read
packages: write
Expand Down
9 changes: 9 additions & 0 deletions apt_sysvinit-utils.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ ARG OS_TYPE

FROM $OS_TYPE:$BASE_IMAGE_TAG

# Re-declare OS_TYPE & BASE_IMAGE_TAG ARGS
ARG OS_TYPE
ARG BASE_IMAGE_TAG

ENV container docker
ENV DEBIAN_FRONTEND noninteractive

Expand All @@ -11,6 +15,11 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN if [ "$OS_TYPE" = "debian" ] && [ "$BASE_IMAGE_TAG" = "12" ]; then \
echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list; \
apt update; \
fi

RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
Expand Down

0 comments on commit 7f7a946

Please sign in to comment.