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:
parent
36e1ba66c7
commit
d69e3be395
@ -2,3 +2,4 @@
|
||||
!obj/Docker/publish/*
|
||||
!obj/Docker/empty/
|
||||
!entrypoint.sh
|
||||
!iconserver.sha256
|
||||
|
@ -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
|
||||
|
1
src/Icons/iconserver.sha256
Normal file
1
src/Icons/iconserver.sha256
Normal file
@ -0,0 +1 @@
|
||||
0b281470d2d4d633872b027e8f9f0807ae693357ae327a1c4f057d1f16ba8aba *iconserver.zip
|
Loading…
Reference in New Issue
Block a user