Skip to content

open ssl not found can't build tomcat #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SelvaSurukam opened this issue Nov 5, 2016 · 6 comments
Closed

open ssl not found can't build tomcat #54

SelvaSurukam opened this issue Nov 5, 2016 · 6 comments

Comments

@SelvaSurukam
Copy link

while docker-compose build

E: Version '1.0.2h-1' for 'openssl' was not found ERROR: Service 'tomcat' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends libapr1 openssl="$OPENSSL_VERSION" && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

image

@Skiamakhos
Copy link

Try 1.0.1t-1+deb8u5 - this seems to work to an extent, BUT it will still fall over later with a dependency error caused by an incompatibility between the JRE & JDK version numbers.

@yosifkit
Copy link
Member

yosifkit commented Nov 8, 2016

It looks like you are building from an older Dockerfile; the current version is 1.0.2j-1. Is there a particular reason you are building them, rather than just doing a docker pull?

@Skiamakhos
Copy link

1.0.2j-1 gives the same results tbh.

@tianon
Copy link
Member

tianon commented Nov 9, 2016

See also #56

@rossbachp
Copy link

If I use "ENV OPENSSL_VERSION 1.1.0c-2" it works.

@yosifkit
Copy link
Member

This is related to docker-library/postgres#228. We want to ensure our images build the correct version or fail; since the openssl version is important to build tomcat, we want to also ensure that it gets properly pinned from the stretch repo. Our update script is made to bump this version when it can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants