mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 06:37:11 -04:00
Update Dockerfile
This commit is contained in:
parent
952ef62e6a
commit
e4e43b838e
11
Dockerfile
11
Dockerfile
@ -5,9 +5,7 @@ ARG SRCIMAGE=debian:bullseye-slim
|
|||||||
|
|
||||||
FROM $SRCIMAGE AS builder
|
FROM $SRCIMAGE AS builder
|
||||||
|
|
||||||
ARG LSMB_VERSION="1.9.0-beta2"
|
ENV LSMB_VERSION master
|
||||||
ARG LSMB_DL_DIR="Beta Releases"
|
|
||||||
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
|
|
||||||
|
|
||||||
|
|
||||||
RUN set -x ; \
|
RUN set -x ; \
|
||||||
@ -17,10 +15,9 @@ RUN set -x ; \
|
|||||||
apt-file update
|
apt-file update
|
||||||
|
|
||||||
RUN set -x ; \
|
RUN set -x ; \
|
||||||
wget --quiet -O /tmp/ledgersmb-$LSMB_VERSION.tar.gz "$ARTIFACT_LOCATION" && \
|
cd /srv && \
|
||||||
tar -xzf /tmp/ledgersmb-$LSMB_VERSION.tar.gz --directory /srv && \
|
git clone --depth 1 --recursive -b $LSMB_VERSION https://github.com/ledgersmb/LedgerSMB.git ledgersmb && \
|
||||||
rm -f /tmp/ledgersmb-$LSMB_VERSION.tar.gz && \
|
cd ledgersmb && \
|
||||||
cd /srv/ledgersmb && \
|
|
||||||
( ( for lib in $( cpanfile-dump --with-all-features --recommends --no-configure --no-build --no-test ) ; \
|
( ( for lib in $( cpanfile-dump --with-all-features --recommends --no-configure --no-build --no-test ) ; \
|
||||||
do \
|
do \
|
||||||
if dh-make-perl locate "$lib" 2>/dev/null ; \
|
if dh-make-perl locate "$lib" 2>/dev/null ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user