delegate-dockerfile's People
delegate-dockerfile's Issues
Error: Invalid or corrupt jarfile delegate.jar
Error: Invalid or corrupt jarfile delegate.jar
Steps to Reproduce
In Dockerfile-ubuntu there is one line that downloads delegate.jar. while execution step. It throws Error: Invalid or corrupt jarfile delegate.jar
Error
Download delegate.jar Dockerfile-ubuntu#L77
RUN curl -s -L -o delegate.jar $BASEURL/$DELEGATEVERSION/delegate.jar
Variables
BASEURL = https://app.harness.io/public/shared/delegates
DELEGATEVERSION = 1.0.78904
Information
- Docker base Image: Ubuntu:20.04
Additional Details
- In start.sh, jar execution command throws
Error: Invalid or corrupt jarfile delegate.jar
Harness Delegate Dockerfile-ubuntu failure
Error: docker run crashes with ": invalid option" in terminal
Steps to Reproduce
Dockerfile-ubuntu docker image failed to execute.
# my build command
docker build -t harness-delegate-docker-image-ubuntu:latest -f Dockerfile-ubuntu --build-arg TARGETARCH=amd64 --build-arg DELEGATEVERSION=78904 .
docker run --cpus=1 --memory=2g \
-e DELEGATE_NAME=harness-delegate-docker-image-ubuntu \
-e NEXT_GEN="true" \
-e DELEGATE_TYPE="DOCKER" \
-e ACCOUNT_ID=<accountID>\
-e DELEGATE_TOKEN=<delegate token> \
-e LOG_STREAMING_SERVICE_URL=https://app.harness.io/gratis/log-service/ \
-e MANAGER_HOST_AND_PORT=https://app.harness.io/gratis \
harness-delegate-docker-image-ubuntu:v1
The docker image is unable to run and every time it throws an ": invalid option" error and stops.
Please give possible solution ASAP.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.