Skip to content

Commit ef9dd54

Browse files
committed
feat: upgrade base image to debian 12 and tor daemon to 0.4.8.13
1 parent e041ee4 commit ef9dd54

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
ARG VERSION=0.4.7.13
1+
ARG VERSION=0.4.8.13
22

33
ARG USER=toruser
44
ARG UID=1000
55

66
ARG DIR=/data
77

8-
FROM debian:11-slim as preparer-base
8+
FROM debian:12-slim as preparer-base
99

1010
RUN apt update
1111
RUN apt -y install gpg gpg-agent curl
1212

1313
# Add tor key
14-
ENV KEYS 514102454D0A87DB0767A1EBBE6A0531C18A9179 B74417EDDF22AC9F9E90F49142E86A2A11F48D36 7A02B3521DC75C542BA015456AFEE6D49E92B601
14+
# Grabbed from https://gitlab.torproject.org/tpo/core/tor/-/blob/main/README.md#keys-that-can-sign-a-release
15+
ENV KEYS 514102454D0A87DB0767A1EBBE6A0531C18A9179 B74417EDDF22AC9F9E90F49142E86A2A11F48D36 2133BC600AB133E1D826D173FE43009C4607B1FB
1516

1617
#RUN curl -s https://openpgpkey.torproject.org/.well-known/openpgpkey/torproject.org/hu/kounek7zrdx745qydx6p59t9mqjpuhdf |gpg --import -
17-
RUN gpg --keyserver keyserver.ubuntu.com --recv-keys $KEYS
18+
RUN gpg --keyserver keys.openpgp.org --recv-keys $KEYS
1819

1920
RUN gpg --list-keys | tail -n +3 | tee /tmp/keys.txt && \
2021
gpg --list-keys $KEYS | diff - /tmp/keys.txt
@@ -35,7 +36,7 @@ RUN tar -xzf "/tor-$VERSION.tar.gz" && \
3536

3637
FROM preparer-release AS preparer
3738

38-
FROM debian:11-slim as builder
39+
FROM debian:12-slim as builder
3940

4041
ARG VERSION
4142

@@ -55,7 +56,7 @@ RUN ls -la /etc/tor
5556
RUN ls -la /var/lib
5657
RUN ls -la /var/lib/tor
5758

58-
FROM debian:11-slim as final
59+
FROM debian:12-slim as final
5960

6061
ARG VERSION
6162
ARG USER

0 commit comments

Comments
 (0)