fix dockerfile to use fixed commit and ubuntu ver

This commit is contained in:
root 2024-11-08 09:11:47 +00:00
parent d7e8706f4e
commit af3ba1af7f

View File

@ -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 {}