mirror of
https://github.com/clearml/dropbear
synced 2025-01-30 18:36:56 +00:00
10 lines
484 B
Bash
Executable File
10 lines
484 B
Bash
Executable File
#!/bin/bash
|
|
|
|
docker build -t dropbearbuild -f Dockerfile .
|
|
|
|
docker run --rm -t -v $(pwd):/root/dropbear dropbearbuild -c "./configure --disable-utmp --disable-wtmp --disable-lastlog --disable-zlib --disable-syslog --enable-static --disable-harden && make clean && make -j4 MULTI=1 PROGRAMS=\"dropbear dropbearconvert dropbearkey\" && mv dropbearmulti dropbearmulti_ && make clean && mv dropbearmulti_ dropbearmulti"
|
|
|
|
docker image rm dropbearbuild
|
|
|
|
mkdir build
|
|
cp dropbearmulti ./build |