Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SYS-622 image tweaks and updates - haproxy-keepalived, postfix-python, samba-dc #162

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .image-gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ security_scan_trivy:
--exit-code 0 --format table --output medium-vulns.txt
- cat medium-vulns.txt
- echo CVE-2023-2253 > .trivyignore
- trivy image "${REGISTRY}/${IMAGE}:${TAG}" || echo Vulnerabilities Found
- trivy image "${REGISTRY}/${IMAGE}:${TAG}"
cache:
paths: [ .trivycache ]
interruptible: true
Expand Down
2 changes: 1 addition & 1 deletion images/haproxy-keepalived/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM haproxy:2.8.3-alpine
FROM haproxy:3.0.2-alpine
MAINTAINER Rich Braun "[email protected]"
ARG BUILD_DATE
ARG VCS_REF
Expand Down
4 changes: 2 additions & 2 deletions images/haproxy-keepalived/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ sources:
- https://github.com/haproxy/haproxy
- https://github.com/acassen/keepalived
type: application
version: 0.1.14
appVersion: "2.8.3-alpine-2.2.8-r0"
version: 0.1.15
appVersion: "3.0.2-alpine-2.2.8-r0"
dependencies:
- name: chartlib
version: 0.1.8
Expand Down
8 changes: 4 additions & 4 deletions images/postfix-python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ ENV BLACKLIST_USER_SECRET=mysql-blacklist-user \
INBOUND_RELAY="by mail.mydomain.com" \
SPAMLIMIT=12 \
SPAMC_HOST=spamassassin
ARG GETPIP_SHA=311afebb7cdd310eb3a3a6bb6fffef53d84493db98c7cebf4008a18d3418c8be
ARG GETPIP_URI=https://bootstrap.pypa.io/pip/3.5/get-pip.py
ARG PYTHON_PIP_VERSION=24.1.1
ARG GETPIP_SHA=55e89e425e98f7c7fdb68174852cc1302cfc16a3b9f1a105b14621711c5b6e64
ARG GETPIP_URI=https://bootstrap.pypa.io/pip/3.7/get-pip.py
ARG PYTHON_PIP_VERSION=24.0

COPY requirements.txt /root/
COPY src/ /usr/local/bin/
Expand All @@ -32,7 +32,7 @@ RUN apk add --no-cache --update \
wget -q -O get-pip.py $GETPIP_URI && \
echo "$GETPIP_SHA get-pip.py" | sha256sum -c && \
python3 get-pip.py --disable-pip-version-check --no-cache-dir \
pip==$PYTHON_PIP_VERSION && \
pip==$PYTHON_PIP_VERSION --break-system-packages && \
apk add --no-cache --virtual .fetch-deps \
gcc git freetype-dev jpeg-dev musl-dev zlib-dev && \
pip install -r /root/requirements.txt --break-system-packages && \
Expand Down
2 changes: 1 addition & 1 deletion images/samba-dc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ COPY *.conf.j2 /root/
COPY entrypoint.sh /usr/local/bin/
RUN apk add --update --no-cache krb5 ldb-tools samba-dc=$SAMBA_VERSION samba-winbind-clients=$SAMBA_VERSION tdb \
bind bind-libs bind-tools libcrypto3 libxml2 tzdata py3-setuptools py3-pip && \
pip install j2cli --break-system-packages && \
pip install jinjanator --break-system-packages && \
apk del py3-pip && \
chmod 0755 /usr/local/bin/entrypoint.sh

Expand Down
2 changes: 1 addition & 1 deletion images/samba-dc/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fi
mkdir -p -m 700 /etc/samba/conf.d
for file in /etc/samba/smb.conf /etc/samba/conf.d/netlogon.conf \
/etc/samba/conf.d/sysvol.conf; do
j2 /root/$(basename $file).j2 -o $file
jinjanate /root/$(basename $file).j2 -o $file
done
for file in $(ls -A /etc/samba/conf.d/*.conf); do
echo "include = $file" >> /etc/samba/smb.conf
Expand Down
Loading