Article - CS422414
Error " cannot stat 'sqljdbc_12.6/enu/jars/mssql-jdbc-12.6.0.jre11.jar': No such file or directory" when bulding dockerfile in ThingWorx 9.6
Modified: 11-Jul-2024
Applies To
- ThingWorx Platform 9.6
Description
- Executing build.sh to build mssql docker deployment generate following error
mv: cannot stat 'sqljdbc_12.6/enu/jars/mssql-jdbc-12.6.0.jre11.jar': No such file or directory
------
1 warning found (use --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)
Dockerfile:15
--------------------
14 |
15 | >>> RUN unzip "/tmp/${PLATFORM_ARCHIVE}" \
16 | >>> && unzip -o -q -d Thingworx Thingworx.war \
17 | >>> && tar -xvf /tmp/${SQLDRIVER_ARCHIVE} \
18 | >>> && mv sqljdbc_12.6/enu/jars/mssql-jdbc-12.6.0.jre11.jar /tmp/sqljdbc42-${SQLDRIVER_VERSION}.jar
19 |
--------------------
ERROR: failed to solve: process "/bin/sh -c unzip \"/tmp/${PLATFORM_ARCHIVE}\" && unzip -o -q -d Thingworx Thingworx.war && tar -xvf /tmp/${SQLDRIVER_ARCHIVE} && mv sqljdbc_12.6/enu/jars/mssql-jdbc-12.6.0.jre11.jar /tmp/sqljdbc42-${SQLDRIVER_VERSION}.jar" did not complete successfully: exit code: 1
Build MSSQL Platform: Failed.
This is a printer-friendly version of Article 422414 and may be out of date. For the latest version click CS422414