Created
December 8, 2021 01:01
-
-
Save rudle/e94528f596878970eace527adaa56fe6 to your computer and use it in GitHub Desktop.
I expect this to work, but it doesn't
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM varnish | |
RUN apt update -y && apt install -y build-essential automake curl libtool git | |
RUN curl -s https://packagecloud.io/install/repositories/varnishcache/varnish60/script.deb.sh | |
RUN apt install -y varnish-modules |
Author
rudle
commented
Dec 8, 2021
FROM debian:bullseye
RUN apt update -y && apt install -y curl build-essential dpkg-dev
RUN curl -s https://packagecloud.io/install/repositories/varnishcache/varnish70/script.deb.sh | bash
RUN apt update -y && apt install -y varnish varnish-dev
RUN apt update -y && apt install -y build-essential automake libtool curl git python3-docutils
RUN git clone https://github.com/varnish/varnish-modules.git /tmp/vm && \
cd /tmp/vm && \
./bootstrap && \
./configure && \
make && \
make check && \
make install
This ended up working. The version of varnish-dev from packagecloud must match the version of varnish from the primary debian sources.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment