Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
volschin authored Mar 22, 2024
1 parent 584eb0d commit 488d133
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG HIBISCUS_VERSION=2.10.17 \
HIBISCUS_DOWNLOAD_PATH=/opt/hibiscus-server.zip \
HIBISCUS_SERVER_PATH=/opt
HIBISCUS_INSTALL_PATH=/opt \
HIBISCUS_SERVER_PATH=/opt/hibiscus-server

FROM ubuntu
ARG HIBISCUS_VERSION \
Expand All @@ -12,15 +13,14 @@ RUN apt update \
&& apt install -qqy --no-install-recommends unzip

ADD https://www.willuhn.de/products/hibiscus-server/releases/hibiscus-server-${HIBISCUS_VERSION}.zip $HIBISCUS_DOWNLOAD_PATH
RUN unzip $HIBISCUS_DOWNLOAD_PATH -d $HIBISCUS_SERVER_PATH \
RUN unzip $HIBISCUS_DOWNLOAD_PATH -d $HIBISCUS_INSTALL_PATH \
&& rm ${HIBISCUS_DOWNLOAD_PATH}

FROM eclipse-temurin:11 as hibiscus-server
ARG HIBISCUS_VERSION \
HIBISCUS_SERVER_PATH
ENV HIBISCUS_PASSWORD=password

#RUN mkdir -p $HIBISCUS_SERVER_PATH
COPY --chmod=775 --from=0 $HIBISCUS_SERVER_PATH $HIBISCUS_SERVER_PATH
WORKDIR $HIBISCUS_SERVER_PATH

Expand Down

0 comments on commit 488d133

Please sign in to comment.