1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

checksum on iconserver download

This commit is contained in:
Kyle Spearrin 2017-10-24 09:14:05 -04:00
parent 36e1ba66c7
commit d69e3be395
3 changed files with 8 additions and 3 deletions

View File

@ -2,3 +2,4 @@
!obj/Docker/publish/*
!obj/Docker/empty/
!entrypoint.sh
!iconserver.sha256

View File

@ -5,9 +5,12 @@ RUN apt-get update \
unzip \
&& rm -rf /var/lib/apt/lists/*
RUN curl -L -o /tmp/iconserver.zip https://github.com/mat/besticon/releases/download/v3.4.0/iconserver_linux_amd64.zip \
&& unzip /tmp/iconserver.zip -d /etc/iconserver \
&& rm /tmp/iconserver.zip
WORKDIR /tmp
COPY iconserver.sha256 .
RUN curl -L -o iconserver.zip https://github.com/mat/besticon/releases/download/v3.4.0/iconserver_linux_amd64.zip \
&& sha256sum -c iconserver.sha256 \
&& unzip iconserver.zip -d /etc/iconserver \
&& rm iconserver.*
WORKDIR /app
EXPOSE 80

View File

@ -0,0 +1 @@
0b281470d2d4d633872b027e8f9f0807ae693357ae327a1c4f057d1f16ba8aba *iconserver.zip