-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
37 lines (29 loc) · 916 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM alpine:3.18.0
LABEL org.opencontainers.image.source="https://github.com/ksurl/docker-weechat"
LABEL maintainer="ksurl"
WORKDIR /config
ENV TERM=screen-256color \
LANG=C.UTF-8
COPY init /init
RUN set -x; \
chmod +x /init && \
echo "**** install packages ****" && \
apk add --no-cache \
aspell-libs \
curl \
dumb-init \
gettext \
gnutls \
libgcrypt \
ncurses \
python3 \
ruby \
shadow \
su-exec \
tzdata \
weechat && \
echo "**** cleanup ****" && \
rm -rf /tmp/* /var/cache/apk/*
VOLUME /config /downloads
ENTRYPOINT [ "/usr/bin/dumb-init", "--" ]
CMD [ "/init" ]