Comments (4)
@xtremebiker: I am facing the same issues in passing --env variables to the docker run command. The springboot container works fine if I use frolvlad/alpine-oraclejdk8:8.121.13-slim
but it ignores --env variables with frolvlad/alpine-oraclejdk8:8.131.11-slim
Were you able to resolve it?
from docker-alpine-java.
Hi,
I haven't changed much in the images, they have automatically got rebuilt with the latest commit, which only touched README.
I have not experienced any problems with the image in any of my projects. A week or so ago I have updated the base image from Alpine 3.5 to the newly released Alpine 3.6, so it might be the cause of the change in behavior. Can you provide a minimal reproducible example so I can help you?
Cheers!
from docker-alpine-java.
@salitrapraveen haven't found time still for it. I'm also using Spring Boot and that's the format of my docker files:
Works:
FROM frolvlad/alpine-oraclejdk8:8.121.13-slim
ADD app.jar app.jar
ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar
Doesn't pick ENV variables:
FROM frolvlad/alpine-oraclejdk8:8.131.11-slim
ADD app.jar app.jar
ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar
Still, I made some tests in my local machine and couldn't reproduce it in a project made from scratch (Spring Initializr). Could be even a problem with the Spring Boot version (I'm using 1.4.4 for my production projects) and that specific JDK version. It might be interesting testing with 1.4.4 and more recent boot versions and the 8.131 jdk image.
from docker-alpine-java.
I am sorry, but I cannot reproduce the described behaviour on my end:
FROM frolvlad/alpine-oraclejdk8:8.131.11-slim
ENTRYPOINT exec echo $JAVA_OPTS
$ docker build -t qq .
$ docker run -it --rm -e JAVA_OPTS=java-test qq
java-test
from docker-alpine-java.
Related Issues (20)
- Using AlpineLinux as host OS to run Java HOT 6
- Add JCE unlimited policy HOT 1
- Could the tag of the images include the Java version? HOT 1
- Please tag the repo with OS and JDK versions HOT 3
- Problem running Minecraft.jar file HOT 3
- Openssl missing HOT 4
- Building mesos fails with linker issues HOT 2
- Any thoughts on a docker-alpine-oraclejre8 ? HOT 2
- Cleaned version remove Nashorn ScriptEngine HOT 7
- memory usage is so hign when using alpine-oraclejdk8:slim image HOT 1
- Why do I run your dockerfile locally and your size is different? HOT 3
- Create docker hub tags for 8u192 update HOT 2
- Problems with the Dockerfile HOT 2
- How to choose java u version HOT 1
- I think time for an upgrade JDK 8u202 HOT 5
- docker hub repo is missing HOT 26
- frolvlad/alpine-java:jdk8-full images 388MB HOT 1
- error while build HOT 1
- Alpine Java jdk-8u221-b11 docker image HOT 1
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.
from docker-alpine-java.