Update docker image
This commit is contained in:
parent
88f43ccdc3
commit
44dafda250
2 changed files with 13 additions and 9 deletions
|
|
@ -12,6 +12,7 @@ COPY . /inter/
|
|||
RUN rm Dockerfile
|
||||
|
||||
RUN ln -s /host/src src \
|
||||
&& ln -s /host/misc misc \
|
||||
&& ln -s /host/version.txt . \
|
||||
&& ln -s /host/githash.txt . \
|
||||
&& ln -s /host/Makefile . \
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ IMAGE_NAME=rsms/inter-build
|
|||
BUILD_DIR=$ROOT_DIR/build/docker
|
||||
|
||||
# setup build dir
|
||||
mkdir -p "$BUILD_DIR/misc/tools"
|
||||
mkdir -p "$BUILD_DIR/misc/tools" "$BUILD_DIR/misc/fontbuildlib"
|
||||
|
||||
# copy files to build dir
|
||||
echo "Syncing build dir"
|
||||
|
|
@ -20,14 +20,17 @@ cp -a \
|
|||
init.sh \
|
||||
requirements.txt \
|
||||
"$DOCKER_DIR/Dockerfile" \
|
||||
"$BUILD_DIR/" &
|
||||
rsync -v -acC --delete --filter="- *.pyc" --filter="- /*/" \
|
||||
"misc/tools/" \
|
||||
"$BUILD_DIR/misc/tools/" &
|
||||
rsync -v -acC --delete \
|
||||
misc/fontbuild \
|
||||
misc/ttf2woff \
|
||||
"$BUILD_DIR/misc/"
|
||||
"$BUILD_DIR/"
|
||||
# rsync -v -acC --delete --filter="- *.pyc" --filter="- /*/" \
|
||||
# "misc/tools/" \
|
||||
# "$BUILD_DIR/misc/tools/" &
|
||||
# rsync -v -acC --delete --filter="- *.pyc" --filter="- /*/" \
|
||||
# "misc/fontbuildlib/" \
|
||||
# "$BUILD_DIR/misc/fontbuildlib/" &
|
||||
# rsync -v -acC --delete \
|
||||
# misc/fontbuild \
|
||||
# misc/ttf2woff \
|
||||
# "$BUILD_DIR/misc/"
|
||||
wait
|
||||
|
||||
# update githash.txt
|
||||
|
|
|
|||
Reference in a new issue