Sign inSign up

zerolabssyseng/ansible

By zerolabssyseng

•Updated almost 7 years ago

Ansible Container

Image
0

409

zerolabssyseng/ansible repository overview

⁠Ansible Container

⁠Configure Makefile.am
IMAGE = zerolabssyseng/ansible

clean-local:
	docker rmi $(CLEAN_OPTIONS) $(IMAGE):$(TAG) || true

build:
	docker build $(BUILD_OPTIONS) --build-arg TAG=${TAG} -t $(IMAGE):$(TAG) .

pull:
	docker pull $(PULL_OPTIONS) $(IMAGE):$(TAG)

push: build
	docker push $(PUSH_OPTIONS) $(IMAGE):$(TAG)
⁠Running with make
make [options]:
    clean-local
    build
    pull
    push
⁠Dockerfile
ARG TAG

FROM zerolabssyseng/build-make:${TAG:-latest}
MAINTAINER "System Engineer (SysEng)"

RUN apk add --update ansible && \
    rm -rf /var/cache/apk/*
⁠Docker Compose (Skeleton)
version: '3.5'

volumes:
    ansible:

services:
    ansible:
        image: zerolabssyseng/ansible:latest
        container_name: zerolabssyseng_ansible
        volumes:
            - /etc/localtime:/etc/localtime:ro
            - /var/run/docker.sock:/var/run/docker.sock
        environment:
            - ENV=local                                         # environment name
            #- [email protected]:your/project.git  # git repository URL
            #- BUILD_GITREF=HEAD                                # git tag/commit reference to build
            #- BUILD_PROJECT=                                   # project directory (empty for the root of sources)
            #- BUILD_SCRIPT=/usr/local/build/build.sh           # build script
            #- BUILD_TIMEOUT=3600                               # build timeout
            #- CONFIGURE=1                                      # enable configure script (executed only if found)
            #- CONFIGURE_OPTIONS=                               # configure options
            #- MAKE_OPTIONS=                                    # make options
            #- MAKE_TARGET=                                     # make target (leave empty for default target)
            #- MAKE_TARGETOPTIONS=                              # make target options
            #- MAKE_INSTALL=0                                   # enable make install
            #- MAKE_INSTALLOPTIONS=                             # make install options

Tag summary

Content type

Image

Digest

Size

204.7 MB

Last updated

almost 7 years ago

docker pull zerolabssyseng/ansible