mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 08:59:23 +01:00
Fix sha256sum check
- Its two spaces... TWO SPACES! - https://github.com/gliderlabs/docker-alpine/issues/174#issuecomment-222951567
This commit is contained in:
@@ -57,7 +57,7 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
|||||||
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
||||||
\
|
\
|
||||||
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
||||||
rm -f "/tmp/${version}.tar.gz" && \
|
rm -f "/tmp/${version}.tar.gz" && \
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ RUN set -ex; \
|
|||||||
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
||||||
\
|
\
|
||||||
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ ENV LIMESURVEY_VERSION=$version
|
|||||||
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
ADD "https://github.com/LimeSurvey/LimeSurvey/archive/${version}.tar.gz" /tmp
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
echo "${sha256_checksum} /tmp/${version}.tar.gz" | sha256sum -c - && \
|
||||||
\
|
\
|
||||||
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ && \
|
||||||
rm -f "/tmp/${version}.tar.gz" && \
|
rm -f "/tmp/${version}.tar.gz" && \
|
||||||
|
|||||||
Reference in New Issue
Block a user