Add ansible Dockerfile and enable building of game images
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cdf7ef26f6
commit
2fb112760c
12
Makefile
12
Makefile
@ -1,15 +1,15 @@
|
|||||||
.PHONY: build push hub build_reg push_reg registry all
|
.PHONY: build push hub build_reg push_reg registry all
|
||||||
|
|
||||||
#modded_mc = siverten/magma siverten/rlcraft
|
modded_mc = magma rlcraft
|
||||||
#mc_contexts = $(modded_mc) siverten/papermc siverten/waterfall
|
mc_contexts = $(modded_mc) papermc waterfall
|
||||||
#game_contexts = $(mc_contexts) siverten/tshock
|
game_contexts = $(mc_contexts) tshock
|
||||||
|
|
||||||
contexts = siverten/bind9 siverten/oxen siverten/tor # $(game_contexts)
|
contexts = ansible bind9 oxen tor $(game_contexts)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(foreach context,$(contexts),docker build --pull $(context) -t $(context);)
|
$(foreach context,$(contexts),docker build --pull siverten/$(context) -t siverten/$(context);)
|
||||||
push:
|
push:
|
||||||
$(foreach context,$(contexts),docker push $(context);)
|
$(foreach context,$(contexts),docker push siverten/$(context);)
|
||||||
hub: build push
|
hub: build push
|
||||||
|
|
||||||
|
|
||||||
|
7
siverten/ansible/Dockerfile
Normal file
7
siverten/ansible/Dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
RUN apk update && apk upgrade
|
||||||
|
RUN apk add ansible
|
||||||
|
|
||||||
|
CMD ansible
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user