thingsboard / performance-tests

Thingsboard performance tests
https://thingsboard.io
Apache License 2.0
41 stars 52 forks source link

failed to process "${pkg.name}.deb": missing ':' in substitution #62

Closed Pramod6395 closed 1 year ago

Pramod6395 commented 1 year ago

Dear Team,

We want to add our payload in source code and make new image using DockerFile. but getting below error.

Sending build context to Docker daemon 6.144kB Step 1/6 : FROM thingsboard/openjdk11:bullseye-slim ---> 54317a520d7a Step 2/6 : COPY start-tests.sh ${pkg.name}.deb /tmp/ failed to process "${pkg.name}.deb": missing ':' in substitution image

smatvienko-tb commented 1 year ago

Hey!

Those Dockerfile are designed to use build args provided by maven build.

Please, use or refer to the build script build.sh at https://github.com/thingsboard/performance-tests/blob/master/build.sh

The maven build will looks like

mvn license:format clean install -Ddockerfile.skip=false
Pramod6395 commented 1 year ago

Hi,

we try to run the file on Ubuntu ./build.sh.

However, facing below issue .

image

smatvienko-tb commented 1 year ago

Hi,

we try to run the file on Ubuntu ./build.sh.

However, facing below issue .

image

Hey! It looks like an access permission issue. Maven said that could not clean the target folder. Try to run from scratch or clean the target folder manually for the first time. And do not build under the root user.

Have a good day!

Pramod6395 commented 1 year ago

Hi,

Thanks for response.

Now, getting below error even we have set java 11.

image