Skip to content

Instantly share code, notes, and snippets.

@csrwng
Last active July 2, 2020 20:29
Show Gist options
  • Save csrwng/069fe8586e8b50bb9d74c8b658ca9154 to your computer and use it in GitHub Desktop.
Save csrwng/069fe8586e8b50bb9d74c8b658ca9154 to your computer and use it in GitHub Desktop.
elasticsearch-plugin-dockerfiles
FROM fedora
RUN dnf -y update && dnf clean all
RUN dnf -y install java java-devel maven git && dnf clean all
RUN mkdir /src && cd /src && \
git clone https://github.com/fabric8io/openshift-elasticsearch-plugin
RUN cd /src/openshift-elasticsearch-plugin && \
git fetch origin pull/190/head:testbranch && \
git checkout testbranch
RUN cd /src/openshift-elasticsearch-plugin && \
mvn clean verify
FROM fedora
RUN dnf -y update && dnf clean all
RUN dnf -y install java java-devel maven git && dnf clean all
RUN mkdir /src && cd /src && \
git clone https://github.com/fabric8io/openshift-elasticsearch-plugin
RUN cd /src/openshift-elasticsearch-plugin && \
git fetch origin pull/192/head:testbranch && \
git checkout testbranch
RUN cd /src/openshift-elasticsearch-plugin && \
mvn clean verify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment