#!/bin/sh
rm -rf common
cp -r ../common common
docker build $1 --rm -t rsyslog/rsyslog_dev_full:alpine_latest .
rm -rf common
printf "\n\n================== BUILD DONE, NOW PUSHING:\n"
printf "\ndocker push rsyslog/rsyslog_dev_full:alpine_latest\n"
