mirror of
https://github.com/w2c/letsencrypt-esxi.git
synced 2026-01-16 15:18:33 -06:00
Initial commit
This commit is contained in:
15
build/build.sh
Normal file
15
build/build.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) Johannes Feichtner <johannes@web-wack.at>
|
||||
#
|
||||
# Script to build letsencrypt-esxi VIB using VIB Author
|
||||
|
||||
LOCALDIR=$(dirname "$(readlink -f "$0")")
|
||||
cd "${LOCALDIR}/.." || exit
|
||||
|
||||
docker rmi -f letsencrypt-esxi 2> /dev/null
|
||||
rm -rf artifacts
|
||||
docker build -t letsencrypt-esxi -f build/Dockerfile .
|
||||
docker run -i -v "${PWD}"/artifacts:/artifacts letsencrypt-esxi sh << COMMANDS
|
||||
cp letsencrypt-esxi/build/w2c-letsencrypt-esxi* /artifacts
|
||||
COMMANDS
|
||||
Reference in New Issue
Block a user