andrealbinop / dockerfiles Goto Github PK
View Code? Open in Web Editor NEWThis repository contains all base Dockerfiles for Docker that I use, and are available at Docker registry.
License: MIT License
This repository contains all base Dockerfiles for Docker that I use, and are available at Docker registry.
License: MIT License
I'm trying to build the project but I need to connect to my Nexus URL.
The configuration inside my settings.xml, but how can I pass it as parameter?
As the title says, this image seems to be missing. Was it on purpose?
Please advise me on the below error.
Step 3/5 : RUN curl -fsSL http://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar xzf - -C /usr/share && mv /usr/share/apache-maven-$MAVEN_VERSION /usr/share/maven && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
---> Running in 8098660b8c44
/bin/sh: curl: not found
tar: invalid magic
tar: short read
The command '/bin/sh -c curl -fsSL http://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar xzf - -C /usr/share && mv /usr/share/apache-maven-$MAVEN_VERSION /usr/share/maven && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn' returned a non-zero code: 1
I ran the command
docker run -it --rm --name my-project -v "$PWD":/data andreptb/maven:3.2.5-jdk6 mvn clean
Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies
could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:
maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:
maven-clean-plugin:pom:2.5 from/to central (https://repo.maven.apache.org/maven2):
Received fatal alert: protocol_version -> [Help 1]
What's the problem?
Hi Andre,
I found an issue during tomcat startup on your image. Probably the docker image should have openssl installed using apk
.
Dec 12, 2019 1:59:20 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
SEVERE: Failed to initialize the SSLEngine.
org.apache.tomcat.jni.Error: 70023: This function has not been implemented on this platform
at org.apache.tomcat.jni.SSL.initialize(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.core.AprLifecycleListener.initializeSSL(AprLifecycleListener.java:286)
at org.apache.catalina.core.AprLifecycleListener.lifecycleEvent(AprLifecycleListener.java:137)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:388)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at org.apache.catalina.startup.Catalina.load(Catalina.java:654)
at org.apache.catalina.startup.Catalina.load(Catalina.java:679)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:253)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)
Thanks for your time
Please man, correct your Docker URLs. I've tried to use one of your docker images but the address was wrong.
So instead of docker run -it --rm -d -p 8888:8080 tomcat:6.0.53-jdk6
I needed to use docker run -it --rm -d -p 8888:8080 andreptb/tomcat:6.0.53-jdk6
. Don't forget that the tag tomcat
is already binded to the official tomcat docker hub (https://hub.docker.com/_/tomcat/)
Ty.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.