Skip to content

Docker Build #358

@projeto-arcanjo

Description

@projeto-arcanjo

Hi All.
I have his Docker build file that I'm using until now. This image are already build (giving us a good Portico Docker) but I'm unsure that it will work again these days.

Can someone check it?

FROM ubuntu:18.04
MAINTAINER [email protected]

ENV LANG C.UTF-8
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
ENV RTI_HOME=/opt/portico-2.2.0
ENV RTI_RID_FILE=/opt/portico-2.2.0/RTI.rid
ENV PATH="${RTI_HOME}/lib:${PATH}"

RUN apt-get update && \
apt-get install -y --no-install-recommends openjdk-8-jdk subversion gcc g++ && \
cd /home/ && \
svn co https://github.com/openlvc/portico/trunk/codebase portico
	
COPY ./local.properties /home/portico/

RUN cd /home/portico/ && \
./ant sandbox && \
./ant installer && \
mv /home/portico/dist/portico-2.2.0/ /opt/ && \
mv /home/portico/dist/portico-2.2.0-linux64.tar.gz /opt/portico-2.2.0/

WORKDIR /opt/portico-2.2.0
COPY ./RTI.rid /opt/portico-2.2.0/RTI.rid
RUN rm -rf /home/portico

ENTRYPOINT ["/bin/bash"]

By the way, the docker image is projetoarcanjo/portico:2.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions