* Update DockerBuild.sh Ensure that the X11 server allows connections from the Docker container. * Update DockerBuild.sh Removed fix for X11. Will add to DockerRun.sh * Update DockerRun.sh Added help comment to fix and ensure that your X11 server allows connections from the Docker container. * linxu build with docker in readme Add build on linux with docker section * Update README.md * Update README.md * Update README.md remove low ram thing * Update Dockerfile --------- Co-authored-by: samthebest699 <106000727+samthebest699@users.noreply.github.com> Co-authored-by: SoftFever <softfeverever@gmail.com>
15 lines
531 B
Bash
Executable file
15 lines
531 B
Bash
Executable file
#!/bin/bash
|
|
PROJECT_ROOT=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)")
|
|
|
|
set -x
|
|
# Wishlist hint: For developers, creating a Docker Compose
|
|
# setup with persistent volumes for the build & deps directories
|
|
# would speed up recompile times significantly. For end users,
|
|
# the simplicity of a single Docker image and a one-time compilation
|
|
# seems better.
|
|
docker build -t orcaslicer \
|
|
--build-arg USER=$USER \
|
|
--build-arg UID=$(id -u) \
|
|
--build-arg GID=$(id -g) \
|
|
--build-arg NCORES=$NCORES \
|
|
$PROJECT_ROOT
|