Added make.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
20c0a0afb8
commit
bbabd63a7b
@ -0,0 +1,3 @@
|
||||
[submodule "common"]
|
||||
path = common
|
||||
url = git@git.shnee.net:shnee/docker-common.git
|
||||
@ -1,4 +0,0 @@
|
||||
FROM fedora:latest
|
||||
|
||||
# TODO REM add comment.
|
||||
RUN dnf install -y ansible
|
||||
@ -0,0 +1,15 @@
|
||||
FROM {{ base_image_name }}:{{ version }}
|
||||
|
||||
# TODO REM add comment.
|
||||
RUN \
|
||||
dnf install -y nfs-utils && \
|
||||
mkdir -p /var/cache/dnf && \
|
||||
mount \
|
||||
-t nfs \
|
||||
-o nolock \
|
||||
192.168.1.204:/pool1/package-caches/dnf \
|
||||
/var/cache/dnf && \
|
||||
echo "keepcache=1" >> /etc/dnf/dnf.conf && \
|
||||
dnf install -y ansible && \
|
||||
echo yay
|
||||
# dnf clean all
|
||||
@ -0,0 +1,27 @@
|
||||
default: common/.git build-all
|
||||
|
||||
IMAGE_NAME = ansible-fedora
|
||||
BASE_IMAGE_NAME = fedora
|
||||
VERSION_LIST = 36 37 latest
|
||||
|
||||
common/.git:
|
||||
git submodule update --init
|
||||
|
||||
# TODO REM remove?
|
||||
# # TODO REM STARTHERE what if we just mafe version targets here that set a
|
||||
# # 'VERSION' variable?
|
||||
# latest:
|
||||
# $(eval VERSION = latest)
|
||||
#
|
||||
# # ':' is a bash noop, not sure how other shells will handle it, zsh handles it
|
||||
# # ok.
|
||||
# # The ';@:' ensures that 'make: Nothing to be done for '<target>' output for
|
||||
# # recipes that only have things like 'eval' and 'info'.
|
||||
# # https://stackoverflow.com/questions/31749487/suppress-make-nothing-to-be-done-for-target
|
||||
# 36: ;@:
|
||||
# $(eval VERSION = 36)
|
||||
|
||||
-include common/makefiles/common.mk
|
||||
|
||||
# TODO REM remove version-list?
|
||||
.PHONY: version-list latest 36
|
||||
@ -1,2 +1,4 @@
|
||||
# anisible-fedora-docker
|
||||
|
||||
[](http://drone.shnee.net/shnee/ansible-fedora-docker)
|
||||
|
||||
|
||||
@ -0,0 +1 @@
|
||||
Subproject commit 5ced3b0bd482c9e31ee99313f0fb50a9587da78d
|
||||
Loading…
Reference in New Issue