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

Keepalived 2.2.7 #55

Open
rdagerfall opened this issue Jun 22, 2022 · 5 comments
Open

Keepalived 2.2.7 #55

rdagerfall opened this issue Jun 22, 2022 · 5 comments

Comments

@rdagerfall
Copy link

Hi!

Will the docker image be updated for the newest version keepalived 2.2.7?

https://github.com/acassen/keepalived/tags

Best regards, Robin

@cdalvaro
Copy link

I'm interested too

@lettore
Copy link

lettore commented Nov 3, 2022

I found this issue too, I'm rebuilding the images with latest Alpine and Keepalived, you can find it at https://hub.docker.com/r/lettore/keepalived/tags tag is x.xx-y.yy.y where x is Alpine version and y Keepalived version.
Here 2.2.7 version docker pull lettore/keepalived:3.16-2.2.7

@renslk
Copy link

renslk commented Nov 7, 2022

我也发现了这个问题,我正在用最新的 Alpine 和 Keepalived 重建图像,你可以在https://hub.docker.com/r/lettore/keepalived/tags找到它标签是 x.xx-y.yy。 y 其中 x 是 Alpine 版本和 y Keepalived 版本。 这里2.2.7版本docker pull lettore/keepalived:3.16-2.2.7

Hello, can you provide the dockerfile project of your image?

@lettore
Copy link

lettore commented Nov 7, 2022

FROM alpine:3.16

LABEL MAINTAINER="Ettore Lorenzi <[email protected]>"

COPY image-base /container
RUN /container/build.sh

ENV LANG="en_US.UTF-8" \
    LANGUAGE="en_US:en" \
    LC_ALL="en_US.UTF-8"

ENTRYPOINT ["/container/tool/run"]

# Keepalived version
ARG KEEPALIVED_VERSION=2.2.7

# Download, build and install Keepalived
RUN apk --no-cache add \
    autoconf \
    curl \
    gcc \
    ipset \
    ipset-dev \
    iptables \
    iptables-dev \
    libnfnetlink \
    libnfnetlink-dev \
    libnl3 \
    libnl3-dev \
    make \
    musl-dev \
    openssl \
    openssl-dev \
    && curl -o keepalived.tar.gz -SL http://keepalived.org/software/keepalived-${KEEPALIVED_VERSION}.tar.gz \
    && mkdir -p /container/keepalived-sources \
    && tar -xzf keepalived.tar.gz --strip 1 -C /container/keepalived-sources \
    && cd container/keepalived-sources \
    && ./configure --disable-dynamic-linking \
    && make && make install \
    && cd - && mkdir -p /etc/keepalived \
    && rm -f keepalived.tar.gz \
    && rm -rf /container/keepalived-sources \
    && apk --no-cache del \
    autoconf \
    gcc \
    ipset-dev \
    iptables-dev \
    libnfnetlink-dev \
    libnl3-dev \
    make \
    musl-dev \
    openssl-dev

# Add service directory to /container/service
ADD image/service /container/service

# Use baseimage install-service script
# https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/install-service
RUN /container/tool/install-service

# Add default env variables
ADD image/environment /container/environment/99-default

image-base dir is from osixia base image repository
image is from this repository
Essentially I'm building both images in one step, with latest python I had to change the file image-base/tool/run
env_vars = yaml.load(f)
with
env_vars = yaml.load(f, Loader=yaml.FullLoader)
otherwise all is exactly the same as the original image

@nser77
Copy link

nser77 commented Apr 20, 2023

Hi, I created a PR to avoid this, take a look to: #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants