mirror of
https://github.com/portainer/portainer.git
synced 2025-07-18 21:09:40 +02:00
* Revert "fix(build-system): fix local build system after appveyor introduction (#2528)" This reverts commit79c24ced96
. * Revert "feat(build-system): add support for AppVeyor CI (#2449)" This reverts commit65979709e9
.
10 lines
286 B
Bash
Executable file
10 lines
286 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
binary="portainer-$1-$2"
|
|
|
|
mkdir -p dist
|
|
|
|
docker run --rm -tv "$(pwd)/api:/src" -e BUILD_GOOS="$1" -e BUILD_GOARCH="$2" portainer/golang-builder:cross-platform /src/cmd/portainer
|
|
|
|
mv "api/cmd/portainer/$binary" dist/
|
|
#sha256sum "dist/$binary" > portainer-checksum.txt
|