mirror of
https://github.com/linuxserver/docker-jenkins-builder.git
synced 2026-02-20 02:13:29 +08:00
24 lines
590 B
Docker
24 lines
590 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.19
|
|
|
|
# set version label
|
|
ARG BUILD_DATE
|
|
ARG VERSION
|
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|
LABEL maintainer="homer, thelamer"
|
|
|
|
RUN \
|
|
echo "**** install build packages ****" && \
|
|
VERSION=v4.34.1 &&\
|
|
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/yq_linux_amd64 -O /usr/bin/yq &&\
|
|
chmod +x /usr/bin/yq && \
|
|
apk add --no-cache --upgrade \
|
|
ansible && \
|
|
apk del \
|
|
alpine-release
|
|
|
|
COPY . /ansible
|
|
|
|
ENTRYPOINT [ "/ansible/entrypoint.sh" ]
|