From af3ba1af7f97af9f03a45ede2c9f84282c8fc8c2 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 8 Nov 2024 09:11:47 +0000 Subject: [PATCH] fix dockerfile to use fixed commit and ubuntu ver --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 088bbfc..819cf23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM ubuntu:latest +ARG UBUNTU_VERSION="noble" + +FROM ubuntu:${UBUNTU_VERSION} ARG BUILD_SERVER_NAME="services.lame-network.local" @@ -14,6 +16,10 @@ WORKDIR /tmp RUN git clone https://github.com/anope/anope.git +WORKDIR /tmp/anope + +RUN git checkout 2.1 + WORKDIR /tmp/anope/modules RUN ls -1 extra/*.cpp | xargs -i ln -s {}