I'm deploying an application to a pre-configured GlassFish Docker instance running in Elastic Beanstalk. I need to download a library file into a specific folder in the GlassFish directory. So in my Dockerfile
I put:
RUN curl -L -o /mysql-connector-java-5.1.34.jar http://ift.tt/1JVpns8
The problem is this doesn't place the file into the specific directory I need. I know the directory relative to the GlassFish source folder, but I need to know where GlassFish is located in the Docker container. I connected to my container by an ssh
client (putty). And I tried to run a shell in the Docker container in hopes I could interact with it through ssh to find the folder structure:
docker run -it amazon/aws-eb-glassfish:4.1-jdk8-onbuild-3.5.1 bash
But no such luck. The command seems to do nothing. How can I view the folder structure of my Docker container that's running in Elastic Beanstalk?
Aucun commentaire:
Enregistrer un commentaire