mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
17 lines
271 B
Bash
17 lines
271 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
cd $(dirname $0)
|
|
|
|
WORKDIR="/go/src/github.com/filebrowser/filebrowser"
|
|
|
|
$(command -v winpty) docker run --rm -it \
|
|
-v /$(pwd):/${WORKDIR} \
|
|
-w /${WORKDIR} \
|
|
filebrowser/filebrowser:dev \
|
|
sh -c '\
|
|
dos2unix build.sh && \
|
|
./build.sh \
|
|
'
|