mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-26 08:39:12 +01:00
59382451dc
It builds the builder image first, then proceeeds to building .deb inside it, and the result is put into the parent (../) directory.
12 lines
293 B
Bash
Executable File
12 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
docker build -t debbuilder_ubuntu:18.04 -f \
|
|
builder/dockerfile.ubuntu1804.deb.build .
|
|
|
|
deb_output_dir=$(cd .. && echo $PWD)
|
|
docker run --rm -v "$deb_output_dir":/src debbuilder_ubuntu:18.04 /bin/bash -c '/src/*/builder/build-deb-inside-docker'
|