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
docker build of wildfly-couchbase-javaee7 image does not work #10
Comments
FROM jboss/wildfly:latest USER root RUN yum install -y epel-release && USER jboss COPY check-for-bucket.sh /opt/jboss/wildfly/check-for-bucket.sh #RUN /opt/jboss/wildfly/check-for-bucket.sh COPY couchbase-javaee.war /opt/jboss/wildfly/standalone/deployments/airlines.war |
@chanezon what's the issue here? |
jq needs epel on centos. yum. eeds to run as root. not sure why you need to populate the db when. uilding the image, it should happen at runtime |
@chanezon This image was created a while back and never fully tested. Been using https://github.com/arun-gupta/docker-images/tree/master/couchbase for most of my samples now. |
I'm following the java labs which points there to build the image. I wanted to fix the app to add timeout. If it's too broken I'll submit another tutorial instead |
@chanezon sounds good. |
docker build -t chanezon/wildfly-couchbase-javaee7 .
Sending build context to Docker daemon 5.207 MB
Step 1 : FROM jboss/wildfly:latest
---> 4c99bd2cd264
Step 2 : RUN sudo yum install -y jq
---> Running in bf2c81e2ed81
/bin/sh: sudo: command not found
The command '/bin/sh -c sudo yum install -y jq' returned a non-zero code: 127
The text was updated successfully, but these errors were encountered: