You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-12-24 00:31:09 +02:00
23 lines
471 B
Bash
23 lines
471 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
set -xe
|
||
|
|
|
||
|
|
REPO_ROOT=../../../
|
||
|
|
ARTIFACTS_DIR=$(pwd)/artifacts
|
||
|
|
|
||
|
|
# Reset the ARTIFACTS_DIR.
|
||
|
|
rm -rf $ARTIFACTS_DIR
|
||
|
|
mkdir -p $ARTIFACTS_DIR
|
||
|
|
|
||
|
|
# Operate on the repository root to have the proper
|
||
|
|
# docker context.
|
||
|
|
pushd $REPO_ROOT
|
||
|
|
|
||
|
|
# Build the PyInstaller image
|
||
|
|
docker build -t pyinstaller-httpie -f extras/packaging/linux/Dockerfile .
|
||
|
|
|
||
|
|
# Copy the artifacts to the designated directory.
|
||
|
|
docker run --rm -i -v $ARTIFACTS_DIR:/artifacts pyinstaller-httpie:latest
|
||
|
|
|
||
|
|
popd
|