File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ stack.deploy:
4242 cd cdk-stacks && npm install && npm run build
4343 cdk deploy --app ./cdk-stacks/bin/app.js --stack PrintStack --parameters uploadBucketName=${BUCKET}
4444
45- test.start.container :
45+ test.start.container : build/weasyprint-layer-python $( RUNTIME ) .zip
4646 ${DOCKER_RUN} \
4747 -e GDK_PIXBUF_MODULE_FILE=" /opt/lib/loaders.cache" \
4848 -e FONTCONFIG_PATH=" /opt/fonts" \
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ rpmdev-extract -- *rpm
3232
3333mkdir /opt/lib
3434cp -P -r /tmp/* /usr/lib64/* /opt/lib
35+ for f in $( find /tmp -type f -name ' lib*.so*' ) ; do
36+ cp " $f " /opt/lib/$( python -c " import re; print(re.match(r'^(.*.so.\d+).*$', '$( basename $f)').groups ()[0])" );
37+ done
3538# pixbuf need list loaders cache
3639# https://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-query-loaders.html
3740PIXBUF_BIN=$( find /tmp -name gdk-pixbuf-query-loaders-64)
You can’t perform that action at this time.
0 commit comments