From a1ff01016437e9b9e6ac1abf6c59b6f113278065 Mon Sep 17 00:00:00 2001 From: "fahmi.mmaliki@gmail.com" Date: Thu, 2 Jul 2020 12:51:31 +0700 Subject: [PATCH] create docker-build.sh --- v1/Dockerfile | 2 -- v1/docker-build.sh | 9 +++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 v1/docker-build.sh diff --git a/v1/Dockerfile b/v1/Dockerfile index 0b0c184..9f2259e 100644 --- a/v1/Dockerfile +++ b/v1/Dockerfile @@ -1,7 +1,5 @@ FROM ubuntu:16.04 -MAINTAINER devops@kinnarastudio.com - ENV JAVA_VERSION openjdk-8-jdk RUN apt-get update && apt install $JAVA_VERSION git curl wget -y diff --git a/v1/docker-build.sh b/v1/docker-build.sh new file mode 100644 index 0000000..ca88a86 --- /dev/null +++ b/v1/docker-build.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ -z "$1" ] +then + TAG=latest +else + TAG=$1 +fi +docker build -t kinnaradigitalstudio/kecak-builder:$TAG .