Skip to content

Commit

Permalink
fix FHEM app layer
Browse files Browse the repository at this point in the history
  • Loading branch information
jpawlowski committed Jan 15, 2019
1 parent fd0a987 commit 9646ff7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& apt-get autoremove -qqy && apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# prepare FHEM app layer
RUN if [ -d ./src/fhem/ ]; then \
svn up ./src/fhem >/dev/null \
; else \
svn co https://svn.fhem.de/fhem/trunk ./src/fhem/trunk \
; fi

# Add FHEM app layer
# Note: Manual checkout is required if build is not run by Travis:
# svn co https://svn.fhem.de/fhem/trunk ./src/fhem/trunk
COPY src/fhem/trunk/fhem/ /fhem/

VOLUME [ "/opt/fhem" ]
Expand Down

0 comments on commit 9646ff7

Please sign in to comment.