Commit fdd9d198 authored by alph4's avatar alph4
Browse files

Fixed bug with concatenated commands in entrypoint.sh arguments and updated README.md

parent fba98c41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ will build your PyInstaller project into `dist/linux/`. The binary will have the
You'll need to supply a custom command to Docker to install system pacakges. Something like:

```
docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux sh -c "apt-get update -y && apt-get install -y wget && pip install -r requirements.txt && pyinstaller --clean -y --dist ./dist/linux --workpath /tmp *.spec"
docker run -v "$(pwd):/src/" cdrx/pyinstaller-linux "apt-get update -y && apt-get install -y wget && pip install -r requirements.txt && pyinstaller --clean -y --dist ./dist/linux --workpath /tmp *.spec"
```

Replace `wget` with the dependencies / package(s) you need to install.
+1 −1
Original line number Diff line number Diff line
@@ -32,6 +32,6 @@ echo "$@"
if [[ "$@" == "" ]]; then
    pyinstaller --clean -y --dist ./dist/linux --workpath /tmp *.spec
else
    $@
    sh -c "$@"
fi # [[ "$@" == "" ]]
+1 −1
Original line number Diff line number Diff line
@@ -32,6 +32,6 @@ echo "$@"
if [[ "$@" == "" ]]; then
    pyinstaller --clean -y --dist ./dist/linux --workpath /tmp *.spec
else
    $@
    sh -c "$@"
fi # [[ "$@" == "" ]]
+1 −1
Original line number Diff line number Diff line
@@ -32,6 +32,6 @@ echo "$@"
if [[ "$@" == "" ]]; then
    pyinstaller --clean -y --dist ./dist/windows --workpath /tmp *.spec
else
    $@
    sh -c "$@"
fi # [[ "$@" == "" ]]
+1 −1
Original line number Diff line number Diff line
@@ -32,5 +32,5 @@ echo "$@"
if [[ "$@" == "" ]]; then
    pyinstaller --clean -y --dist ./dist/windows --workpath /tmp *.spec
else
    $@
    sh -c "$@"
fi # [[ "$@" == "" ]]