This repository was archived by the owner on Mar 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
tools/appserver/dockerbuild Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export QPMX_CACHE_DIR=/tmp/qpmx-cache
77DS_NAME=qdsappd
88QT_VERSION=5.11.0
99CRYPTOPP_VERSION=7_0_0
10- MAIN_DEP=" libressl zlib dbus-libs glib libgcc libpcre2-16 libpq ca-certificates"
10+ MAIN_DEP=" libressl zlib dbus-libs glib libgcc libstdc++ libpcre2-16 libpq ca-certificates eudev-libs eudev libpcre2-16 "
1111DEV_DEP=" libressl-dev zlib-dev dbus-dev glib-dev perl eudev-dev gawk pcre2-dev postgresql-dev linux-headers make gcc g++ curl python3 git"
1212
1313apk add --no-cache $MAIN_DEP $DEV_DEP
@@ -94,6 +94,7 @@ CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC" make dynamic
9494make install PREFIX=" /usr"
9595install -m644 " /tmp/src/tools/appserver/dockerbuild/libcrypto++.pc" " /usr/lib/pkgconfig/libcrypto++.pc"
9696cd ..
97+ ls -lsa /usr/lib/libcryptopp*
9798
9899# build messages
99100cd /tmp/src/src/messages
@@ -116,14 +117,17 @@ make install
116117
117118# create special symlinks, dirs and move the env script
118119mkdir -p /etc/$DS_NAME
119- ln -s $( qmake -qt5 - query QT_INSTALL_BINS) /$DS_NAME /usr/bin/$DS_NAME || true # allow to fail if already exists
120+ ln -s $( qmake -query QT_INSTALL_BINS) /$DS_NAME /usr/bin/$DS_NAME || true # allow to fail if already exists
120121mv dockerbuild/env_start.sh /usr/bin/
121122
123+ # test if working
124+ /usr/bin/$DS_NAME --version
125+
122126# remove unused stuff
123127apk del --no-cache --purge " *-dev" $DEV_DEP
124128rm -rf /tmp/*
125129rm -rf $HOME /.cache/qpmx
126130rm -rf /usr/local/bin/qpm
127131
128- # test if working
132+ # test if still working
129133/usr/bin/$DS_NAME --version
You can’t perform that action at this time.
0 commit comments