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

Add antlr generated files #12

Merged
merged 3 commits into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN git clone --single-branch --depth 1 https://github.com/mfontanini/cppkafka.g
RUN git clone --single-branch --depth 1 https://github.com/kubernetes-client/c
RUN git clone --single-branch --depth 1 --branch v4.2-stable https://libwebsockets.org/repo/libwebsockets
RUN git clone --single-branch --depth 1 --branch release/0.2.5 https://github.com/yaml/libyaml
RUN git clone --single-branch --depth 1 https://github.com/antlr/antlr4.git
RUN git clone --single-branch --depth 1 --branch v4.11.1 https://github.com/antlr/antlr4.git

WORKDIR /home/ubuntu/software/METIS
RUN git submodule update --init
Expand Down Expand Up @@ -72,3 +72,16 @@ RUN cmake ..
RUN make install

RUN rm -rf /home/ubuntu/software/*

WORKDIR /home/ubuntu/software/code
RUN apt-get update && apt-get install --no-install-recommends -y default-jre
RUN curl -O https://s3.amazonaws.com/artifacts.opencypher.org/M23/Cypher.g4
RUN curl -O https://www.antlr.org/download/antlr-4.13.2-complete.jar
RUN java -jar antlr-4.13.2-complete.jar -Dlanguage=Cpp -visitor Cypher.g4
RUN apt-get purge default-jre -y

WORKDIR /home/ubuntu/software
RUN mkdir /home/ubuntu/software/antlr
RUN mv /home/ubuntu/software/code/*.cpp /home/ubuntu/software/antlr
RUN mv /home/ubuntu/software/code/*.h /home/ubuntu/software/antlr
RUN rm -rf /home/ubuntu/software/code
Loading