Skip to content
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

Doc installation instractions #4040

Open
kouimtzisSA opened this issue May 17, 2023 · 1 comment
Open

Doc installation instractions #4040

kouimtzisSA opened this issue May 17, 2023 · 1 comment

Comments

@kouimtzisSA
Copy link

kouimtzisSA commented May 17, 2023

Needed to update Ubuntu installation instructions

@volkermauel
Copy link

volkermauel commented May 18, 2023


FROM ubuntu:20.04
#COPY zulu7.56.0.11-ca-jdk7.0.352-linux_amd64.deb /tmp
#RUN dpkg -i /tmp/zulu7.56.0.11-ca-jdk7.0.352-linux_amd64.deb
RUN     apt-get update && \
        apt install -y gnupg ca-certificates curl && \
        curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg && \
        echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu.list
RUN apt update
RUN apt install -y zulu7-jdk

####################AZUL INSTALLATION DONE###########################

RUN apt-get install -f unzip

RUN     cd /tmp && \
        curl -LO https://archive.apache.org/dist/tomcat/tomcat-8/v8.5.88/bin/apache-tomcat-8.5.88.zip && \
        unzip apache-tomcat-8.5.88.zip && \
        mv /tmp/apache-tomcat-8.5.88 /tomcat && \
        chmod a+x /tomcat/bin/catalina.sh && \
        chown -R 1001:0 /tomcat/bin/catalina.sh && \
        chmod -R g+rw /tomcat/ && \
        mkdir -p /config/.grails && \
        chown -R 1001:0 /config && \
        chmod -R g+rw /config

RUN curl -L -o /tomcat/webapps/openboxes.war https://github.com/openboxes/openboxes/releases/download/v0.8.22/openboxes.war

ENV JAVA_OPTS="$JAVA_OPTS -Xss8m -Xms256m -Xmx4096m -XX:MaxPermSize=256M" HOME="/config"
USER 1001
CMD ["/tomcat/bin/catalina.sh","run"]

Since the provided docker file did not work out for me, this is what we're currently using to build the latest version inside our openshift-cluster and deploy it there.

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

2 participants