Skip to content

Commit

Permalink
chore(update): keepalived v2.3.1 + alpine v3.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
visibilityspots committed Dec 14, 2024
1 parent 7fd2c66 commit d0a1174
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

github: [visibilityspots]
custom: ["https://paypal.me/visibilityspots?country.x=BE&locale.x=en_US"]
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/.twgit_features_subject
/.twgit
*.tar
.env
local-debug
23 changes: 11 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
FROM alpine:3.20.0
FROM alpine:3.21.0

ENV KEEPALIVED_INTERFACE eth0
ENV KEEPALIVED_STATE BACKUP
ENV KEEPALIVED_ROUTER_ID 21
ENV KEEPALIVED_PRIORITY 150
ENV KEEPALIVED_UNICAST_PEERS 192.168.0.11 - 192.168.0.12
ENV KEEPALIVED_VIRTUAL_IPS 192.168.0.10
ENV KEEPALIVED_VIRTUAL_ROUTES 192.168.0.0/24 dev eth0 scope link src 192.168.0.10
ENV KEEPALIVED_PASSWORD d0ck3r
ENV KEEPALIVED_NOTIFY notify "/usr/local/bin/keepalived-notify.sh"
ENV KEEPALIVED_INTERFACE=eth0
ENV KEEPALIVED_STATE=BACKUP
ENV KEEPALIVED_ROUTER_ID=21
ENV KEEPALIVED_PRIORITY=150
ENV KEEPALIVED_UNICAST_PEERS="192.168.0.11 - 192.168.0.12"
ENV KEEPALIVED_VIRTUAL_IPS=192.168.0.10
ENV KEEPALIVED_VIRTUAL_ROUTES="192.168.0.0/24 dev eth0 scope link src 192.168.0.10"
ENV KEEPALIVED_PASSWORD=d0ck3r

Check warning on line 10 in Dockerfile

View workflow job for this annotation

GitHub Actions / main / deploy

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "KEEPALIVED_PASSWORD") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV KEEPALIVED_NOTIFY='notify "/usr/local/bin/keepalived-notify.sh"'

RUN apk add --no-cache \
# keepalived==2.3.1-r0 \
keepalived==2.2.8-r0 \
keepalived==2.3.1-r0 \
envsubst

COPY entrypoint.sh /usr/local/bin/entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package:
keepalived:
installed: true
versions:
- 2.2.8-r0
- 2.3.1-r0
envsubst:
name: gettext-envsubst
installed: true
Expand Down

0 comments on commit d0a1174

Please sign in to comment.