Skip to content

Commit fb4dcdc

Browse files
committed
Update Ubuntu version
1 parent 4904c79 commit fb4dcdc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22
LABEL maintainer="Frank Denis"
33
SHELL ["/bin/sh", "-x", "-c"]
4-
ENV SERIAL 12
4+
ENV SERIAL=1
55

66
ENV CFLAGS=-O3
7-
ENV BUILD_DEPS curl make build-essential git libevent-dev libexpat1-dev autoconf file libssl-dev flex bison
8-
ENV RUNTIME_DEPS bash util-linux coreutils findutils grep libssl3 ldnsutils libevent-2.1 expat ca-certificates runit runit-helper jed
7+
ENV BUILD_DEPS="curl make build-essential git libevent-dev libexpat1-dev autoconf file libssl-dev flex bison"
8+
ENV RUNTIME_DEPS="bash util-linux coreutils findutils grep libssl3 ldnsutils libevent-2.1 expat ca-certificates runit runit-helper jed"
99

1010
RUN apt-get update && apt-get -qy dist-upgrade && apt-get -qy clean && \
1111
apt-get install -qy --no-install-recommends $RUNTIME_DEPS && \
1212
rm -fr /tmp/* /var/tmp/* /var/cache/apt/* /var/lib/apt/lists/* /var/log/apt/* /var/log/*.log
1313

1414
RUN update-ca-certificates 2> /dev/null || true
1515

16-
ENV UNBOUND_GIT_URL https://github.com/NLnetLabs/unbound.git
17-
ENV UNBOUND_GIT_REVISION 7b62767e16145415cb6a4e23f93a8138f54a56f0
16+
ENV UNBOUND_GIT_URL="https://github.com/NLnetLabs/unbound.git"
17+
ENV UNBOUND_GIT_REVISION="7fbc061846ace7295fb8ab117411daf32aa282fc"
1818

1919
WORKDIR /tmp
2020

@@ -32,10 +32,10 @@ RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS &&
3232
rm -fr /opt/unbound/share/man && \
3333
rm -fr /tmp/* /var/tmp/* /var/cache/apt/* /var/lib/apt/lists/* /var/log/apt/* /var/log/*.log
3434

35-
ENV RUSTFLAGS "-C link-arg=-s"
35+
ENV RUSTFLAGS="-C link-arg=-s"
3636

3737
RUN apt-get update && apt-get install -qy --no-install-recommends $BUILD_DEPS && \
38-
curl -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain stable && \
38+
curl -sSf https://sh.rustup.rs | bash -s -- -y --profile minimal --default-toolchain stable && \
3939
export PATH="$HOME/.cargo/bin:$PATH" && \
4040
echo "Compiling encrypted-dns" && \
4141
cargo install encrypted-dns && \

0 commit comments

Comments
 (0)