Commit 8c29858b authored by +flatcloud0b3's avatar +flatcloud0b3 💬
Browse files

Upgrade base image to bullseye

parent 28961d8f
FROM debian:buster-slim
FROM debian:11-slim
ENV WHIRLPOOL_HOME /home/whirlpool
ENV WHIRLPOOL_DIR /usr/local/whirlpool-cli
......@@ -25,10 +25,10 @@ RUN set -ex && \
mkdir -p "$WHIRLPOOL_DIR"
# Install Tor
ENV TOR_PGP_SIG_URL https://github.com/flatcloud0b3/tor/releases/download/v0.4.6.7/tor-0.4.6.7-linux-gnu-ppc64le.deb.sig
ENV TOR_DEB_URL https://github.com/flatcloud0b3/tor/releases/download/v0.4.6.7/tor-0.4.6.7-linux-gnu-ppc64le.deb
ENV TOR_SHA256 6ee4211e2217cc40fdfcad81b96a9b3188adc23eb4d68fb45b2c913abde1f714
ENV TOR_DEB_SIG tor-0.4.6.7-linux-gnu-ppc64le.deb.sig
ENV TOR_PGP_SIG_URL https://github.com/flatcloud0b3/tor/releases/download/v0.4.6.7/tor-0.4.6.7-linux-gnu-ppc64le-bullseye.deb.sig
ENV TOR_DEB_URL https://github.com/flatcloud0b3/tor/releases/download/v0.4.6.7/tor-0.4.6.7-linux-gnu-ppc64le-bullseye.deb
ENV TOR_SHA256 844886ac03e50cdf385e8edf6e493a3acbb7d1c83fbdef57901b4cb2d3916fae
ENV TOR_DEB_SIG tor-0.4.6.7-linux-gnu-ppc64le-bullseye.deb.sig
ENV FLATCLOUD_PGP_KEY E28D24AA6FE1AD3F6F258BA0D9CE2F6D968DDC54
ENV PGP_KS_URL hkp://keyserver.ubuntu.com
......@@ -39,8 +39,8 @@ RUN set -ex && \
wget "$TOR_DEB_URL" && \
gpg --keyserver "$PGP_KS_URL" --recv-keys "$FLATCLOUD_PGP_KEY" && \
gpg --verify "$TOR_DEB_SIG" && \
echo "$TOR_SHA256 tor-0.4.6.7-linux-gnu-ppc64le.deb" | sha256sum -c - && \
dpkg -i tor-0.4.6.7-linux-gnu-ppc64le.deb && \
echo "$TOR_SHA256 tor-0.4.6.7-linux-gnu-ppc64le-bullseye.deb" | sha256sum -c - && \
dpkg -i tor-0.4.6.7-linux-gnu-ppc64le-bullseye.deb && \
rm -rf /tmp/*
# Install whirlpool-cli
......@@ -72,4 +72,3 @@ EXPOSE 8898
# Switch to user whirlpool
USER whirlpool
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment