ci.docker.websphere-traditional icon indicating copy to clipboard operation
ci.docker.websphere-traditional copied to clipboard

Add Ant to compile project.

Open conlean opened this issue 5 years ago • 2 comments

Hi People.

I need to add apache Ant to compile my code this image. I have" permission denied" when i try to create ant´s folder when i build a new image with a dockerfile. Do you kwon how can i install ant in this image? Thanks !

conlean avatar Nov 29 '19 20:11 conlean

it comes with ANT 1.6.5

Assuming your build.xml is in current directory. The DOS command would be ...

docker run --rm -v "%CD%":/usr/src/myapp -w /usr/src/myapp ibmcom/websphere-traditional:9.0.5.8-ubi8-amd64 ws_ant.sh %*

r1ddl3m37h15 avatar Aug 12 '21 13:08 r1ddl3m37h15

The error seems similar to #74. If so, the fix is pretty simple. If ANT 1.6.5 isn't the version you need, the solution to #72 seems to be how you'd go about that.

r1ddl3m37h15 avatar Aug 12 '21 14:08 r1ddl3m37h15