1
- FROM ubuntu:20 .04 as builder
1
+ FROM ubuntu:24 .04 as builder
2
2
LABEL org.opencontainers.image.title="ltc-client"
3
3
LABEL org.opencontainers.image.maintainer=
"[email protected] "
4
4
LABEL org.opencontainers.image.url="https://www.ikna.io/"
5
5
LABEL org.opencontainers.image.description="Dockerized Litecoin client"
6
6
LABEL org.opencontainers.image.source="https://github.com/graphsense/ltc-client"
7
7
8
8
ENV TZ=UTC
9
+ ENV LIBDIR=/etc/ld.so.conf
9
10
ADD docker/Makefile /tmp/Makefile
10
11
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
11
12
echo $TZ > /etc/timezone && \
@@ -32,7 +33,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
32
33
make install && \
33
34
strip /usr/local/bin/litecoin*
34
35
35
- FROM ubuntu:20 .04
36
+ FROM ubuntu:24 .04
36
37
37
38
COPY --from=builder /usr/local/bin/litecoin* /usr/local/bin/
38
39
@@ -44,15 +45,12 @@ RUN useradd -r -u $UID dockeruser && \
44
45
# packages
45
46
apt-get update && \
46
47
apt-get install --no-install-recommends -y \
47
- libboost-chrono1.71.0 \
48
- libboost-filesystem1.71.0 \
49
- libboost-program-options1.71.0 \
50
- libboost-system1.71.0 \
51
- libboost-thread1.71.0 \
52
- libevent-2.1-7 \
53
- libevent-pthreads-2.1-7 \
48
+ libboost-all-dev \
49
+ libfmt9 \
50
+ libevent-core-2.1-7t64 \
51
+ libevent-pthreads-2.1-7t64 \
54
52
libminiupnpc17 \
55
- libssl1.1
53
+ libssl-dev
56
54
57
55
USER dockeruser
58
56
CMD ["litecoind" , "-conf=/opt/graphsense/client.conf" , "-datadir=/opt/graphsense/data" , "-rest" ]
0 commit comments