Initial Commit

This commit is contained in:
Markus Pesch 2019-04-18 17:33:44 +02:00
commit ca202ced8d
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 25 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM archlinux/base:latest
RUN pacman --sync \
--refresh \
--noconfirm \
--sysupgrade go make git
WORKDIR /workspace

17
Makefile Normal file
View File

@ -0,0 +1,17 @@
# VERSION
# If no version is specified as a parameter of make, the value latest
# is taken.
VERSION?=latest
# DOCKER_USER
DOCKER_USER:=volkerraschek
build:
docker build \
--no-cache \
--tag ${DOCKER_USER}/build-image:${VERSION} \
.
push: build
docker login --username ${DOCKER_USER} --password ${DOCKER_PASSWORD}
docker push ${DOCKER_USER}/build-image:${VERSION}