Skip to content

Commit

Permalink
Update Ubuntu version
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jul 1, 2024
1 parent 4904c79 commit fb4dcdc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
FROM ubuntu:22.04
FROM ubuntu:24.04
LABEL maintainer="Frank Denis"
SHELL ["/bin/sh", "-x", "-c"]
ENV SERIAL 12
ENV SERIAL=1

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

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

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

ENV UNBOUND_GIT_URL https://github.com/NLnetLabs/unbound.git
ENV UNBOUND_GIT_REVISION 7b62767e16145415cb6a4e23f93a8138f54a56f0
ENV UNBOUND_GIT_URL="https://github.com/NLnetLabs/unbound.git"
ENV UNBOUND_GIT_REVISION="7fbc061846ace7295fb8ab117411daf32aa282fc"

WORKDIR /tmp

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

ENV RUSTFLAGS "-C link-arg=-s"
ENV RUSTFLAGS="-C link-arg=-s"

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

0 comments on commit fb4dcdc

Please sign in to comment.