Coder Social home page Coder Social logo

Comments (9)

zygimantus avatar zygimantus commented on July 18, 2024

I am getting the same error.

from sailpoint-iiq.

zygimantus avatar zygimantus commented on July 18, 2024

Solution for me was to change ENV TOMCAT_VERSION 8.5.29 into ENV TOMCAT_VERSION 8.5.31 in iiq-build/Dockerfile. Also always check if www-eu.apache.org is running at https://www.apache.org/mirrors/.

from sailpoint-iiq.

zygimantus avatar zygimantus commented on July 18, 2024

I made a pull request #2 to fix this.

from sailpoint-iiq.

anotherrohit avatar anotherrohit commented on July 18, 2024

@zygimantus I am still having the error after changing ENV TOMCAT_VERSION 8.5.31 in iiq-build/Dockerfile. Also made sure wget is available on macos with a brew install
wget --quiet --no-cookies http://www-eu.apache.org/dist/tomcat/tomcat-8/v${TOMCAT_VERSION}/bin/apache-tomcat-${TOMCAT_VERSION}.tar.gz -O /tmp/tomcat.tgz && tar xzvf /tmp/tomcat.tgz -C /opt && mv /opt/apache-tomcat-${TOMCAT_VERSION} /opt/tomcat && rm /tmp/tomcat.tgz && rm -rf /opt/tomcat/webapps/examples && rm -rf /opt/tomcat/webapps/docs && rm -rf /opt/tomcat/webapps/ROOT

But docker compose fails at the exact same step. Any other changes made?

from sailpoint-iiq.

zygimantus avatar zygimantus commented on July 18, 2024

Try to change eu.apache.org to us-apache.org. eu.apache.org for some reasons is not working.

from sailpoint-iiq.

anotherrohit avatar anotherrohit commented on July 18, 2024

@zygimantus That did it. Docker compose build worked. However, docker-compose up shows a different error which cannot start the db. Were you able to get past this? What was the os used?
ERROR: for db Cannot start service db: b'Mounts denied: \r\nThe path /srv/sailpoint-docker/db\r\nis not shared from OS X and is not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n.'
ERROR: Encountered errors while bringing up the project.

from sailpoint-iiq.

zygimantus avatar zygimantus commented on July 18, 2024

@anotherrohit nice to hear that you managed to build it. I was using Windows 10 and I can confirm that docker-compose up is working. Maybe this link will help you: https://stackoverflow.com/questions/34442831/permission-denied-when-mounting-docker-volume-in-osx ?

from sailpoint-iiq.

anotherrohit avatar anotherrohit commented on July 18, 2024

@zygimantus Thanks for that information. I tried the suggestion added this in the DockerFile
FROM mysql:5.6
RUN usermod -u 1000 mysql
RUN mkdir -p /var/run/mysqld
RUN chmod -R 777 /var/run/mysqld
But no luck. posted the same on the stackoverflow link

from sailpoint-iiq.

kumbal avatar kumbal commented on July 18, 2024

gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
gpg: key EEA14886: public key "Totally Legit Signing Key [email protected]" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
Ign http://deb.debian.org jessie InRelease
Hit http://deb.debian.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://deb.debian.org jessie Release.gpg
Get:1 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Ign http://ppa.launchpad.net trusty InRelease
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [932 kB]
Get:3 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
Get:4 http://ppa.launchpad.net trusty/main Sources [20 B]
Hit http://deb.debian.org jessie Release
Get:5 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Get:6 http://ppa.launchpad.net trusty/main amd64 Packages [20 B]
Fetched 10.0 MB in 2s (3568 kB/s)
Reading package lists...
W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package oracle-java8-installer
ERROR: Service 'iiq' failed to build: The command '/bin/sh -c echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list && echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 && apt-get update && apt-get install -y oracle-java8-installer && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/oracle-jdk8-installer' returned a non-zero code: 100

from sailpoint-iiq.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.