Commit bef246fb authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix copying base files

(hidden files are not copied under normal glob)
parent 6ee5e646
......@@ -9,16 +9,29 @@ to reproduce AppImage-only bugs in Krita.
## Prerequisites
Firstly we need to download deps and Krita source tree. These steps are not
Firstly make sure you have Docker installed
```bash
sudo apt install docker docker.io
```
Then you need to download deps and Krita source tree. These steps are not
included into the *Dockerfile* to save internal bandwidth (most Krita
developers already have al least one clone of Krita source tree).
```bash
# download the deps archive
./bin/bootstrap-deps.sh
# create directory structure for container control directory
mkdir -p krita-master/persistent
cd krita-master
# mount/copy/chechout Krita sources to 'persistent/krita'
# copy/chechout Krita sources to 'persistent/krita'
cp -r /path/to/sources/krita ./persistent/krita
# initialize control scripts and the Dockerfile
./persistent/krita/build-tools/docker/bin/bootstrap-root.sh
# download the deps archive
./bin/bootstrap-deps.sh
```
## Build the docker image and run the container
......
......@@ -8,7 +8,7 @@ if [ -d ./persistent/krita ]; then
done
cp persistent/krita/build-tools/docker/bin/* ./bin/
cp persistent/krita/build-tools/docker/default-home/* ./default-home/
cp persistent/krita/build-tools/docker/default-home/{,.}* ./default-home/
cp persistent/krita/build-tools/docker/Dockerfile ./
cp persistent/krita/build-tools/docker/README.md ./
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment