Skip to content

Instantly share code, notes, and snippets.

@marcriera
Created July 23, 2022 09:57
Show Gist options
  • Save marcriera/d2ef4a67ffda51b2acfc5d3a3e13c313 to your computer and use it in GitHub Desktop.
Save marcriera/d2ef4a67ffda51b2acfc5d3a3e13c313 to your computer and use it in GitHub Desktop.
Okapi Longhorn on Docker
FROM jetty:alpine
USER root
RUN mkdir -p /home/jetty
RUN chown -R jetty:jetty /home/jetty
RUN apk add --no-cache wget unzip
USER jetty
ENV URL https://okapiframework.org/binaries/longhorn
ENV FILE okapi-longhorn_all-platforms_1.43.0.zip
RUN wget -q $URL/$FILE && unzip $FILE -d /var/lib/jetty/webapps/
RUN mkdir /home/jetty/Okapi-Longhorn-Files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment