Skip to content

Commit 73295c3

Browse files
committed
imp: ab2p build
1 parent 40d4cfd commit 73295c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ RUN set -eux; \
3737
privoxy --version;
3838

3939

40-
FROM haskell:slim AS build-adblock2privoxy
40+
FROM haskell:9.10.3-slim-bookworm AS build-adblock2privoxy
4141

42-
ARG ADBLOCK2PRIVOXY_RESOLVER=lts-21.25
42+
ARG ADBLOCK2PRIVOXY_RESOLVER=lts-24.29
4343

4444
SHELL ["/bin/bash", "-eo", "pipefail", "-c"]
4545

@@ -58,9 +58,9 @@ RUN set -eux; \
5858
git clone https://github.com/tardo/adblock2privoxy.git . --depth=1; \
5959
export STACK_ROOT=/usr/local/etc/.stack; \
6060
cd adblock2privoxy; \
61-
stack setup --allow-different-user --resolver $ADBLOCK2PRIVOXY_RESOLVER; \
62-
stack build --allow-different-user --resolver $ADBLOCK2PRIVOXY_RESOLVER --allow-newer; \
63-
stack install --allow-different-user --local-bin-path /usr/local/bin --resolver $ADBLOCK2PRIVOXY_RESOLVER --allow-newer; \
61+
stack setup --system-ghc --no-install-ghc --resolver $ADBLOCK2PRIVOXY_RESOLVER; \
62+
stack build --system-ghc --no-install-ghc --resolver $ADBLOCK2PRIVOXY_RESOLVER --allow-newer; \
63+
stack install --system-ghc --no-install-ghc --local-bin-path /usr/local/bin --resolver $ADBLOCK2PRIVOXY_RESOLVER --allow-newer; \
6464
adblock2privoxy --version;
6565

6666

0 commit comments

Comments
 (0)