Initial Commit
This commit is contained in:
commit
ca202ced8d
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM archlinux/base:latest
|
||||||
|
|
||||||
|
RUN pacman --sync \
|
||||||
|
--refresh \
|
||||||
|
--noconfirm \
|
||||||
|
--sysupgrade go make git
|
||||||
|
|
||||||
|
WORKDIR /workspace
|
17
Makefile
Normal file
17
Makefile
Normal 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}
|
Loading…
Reference in New Issue
Block a user