-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (21 loc) · 754 Bytes
/
Dockerfile
File metadata and controls
27 lines (21 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:3.22
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="roxedus, thelamer"
RUN \
echo "**** install build packages ****" && \
YQ_VERSION=v4.45.1 &&\
wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -O /usr/bin/yq &&\
chmod +x /usr/bin/yq && \
apk add --no-cache --upgrade \
ansible && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}\n" > /build_version && \
apk del \
alpine-release
COPY /ansible /app
COPY entrypoint.sh entrypoint.sh
WORKDIR /app
ENTRYPOINT ["catatonit", "--", "/entrypoint.sh"]