Skip to content

Commit

Permalink
Don't need the folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
doolse committed Dec 17, 2018
1 parent c93bfb1 commit 991aeb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
equella-installer-6.5.zip
equella-installer-*.zip
7 changes: 3 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ FROM baseequella as installer

# Install openEQUELLA

ARG OEQ_INSTALL_FILE=equella-installer-6.7.zip
ARG OEQ_INSTALL_ZIP_ROOT_DIR=equella-installer-6.7
ARG OEQ_INSTALL_FILE=equella-installer-2018.2.zip

COPY ["$OEQ_INSTALL_FILE","defaults.xml", "./"]

RUN unzip $OEQ_INSTALL_FILE \
&& mv $OEQ_INSTALL_ZIP_ROOT_DIR /equella-installer \
RUN unzip $OEQ_INSTALL_FILE -d /tmp \
&& mv /tmp/equella-installer-* /equella-installer \
&& java -jar /equella-installer/enterprise-install.jar --unsupported defaults.xml

FROM baseequella as equella
Expand Down

0 comments on commit 991aeb9

Please sign in to comment.