mirror of
https://github.com/linuxserver/docker-ngircd.git
synced 2026-02-20 04:25:10 +08:00
Bot Updating Templated Files
This commit is contained in:
parent
0fc2ab8594
commit
4c3baa8a64
@ -1,31 +0,0 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG NGIRCD_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="anoma"
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
if [ -z ${NGIRCD_RELEASE+x} ]; then \
|
||||
NGIRCD_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||
&& awk '/^P:ngircd$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||
fi && \
|
||||
apk add --no-cache \
|
||||
ngircd==${NGIRCD_RELEASE} \
|
||||
ngircd-doc==${NGIRCD_RELEASE} && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 6667
|
||||
|
||||
VOLUME /config
|
||||
Loading…
x
Reference in New Issue
Block a user