File: Dockerfile

package info (click to toggle)
robustirc-bridge 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 220 kB
  • sloc: sh: 76; makefile: 21
file content (23 lines) | stat: -rw-r--r-- 873 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Start with busybox, but with libc.so.6
FROM busybox:glibc

MAINTAINER Michael Stapelberg <michael@robustirc.net>

# So that we can run as unprivileged user inside the container.
RUN echo 'nobody:x:99:99:nobody:/:/bin/sh' >> /etc/passwd

USER nobody

ADD ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ADD robustirc-bridge/robustirc-bridge /usr/bin/robustirc-bridge
ADD bridge-motd.txt /usr/share/robustirc/bridge-motd.txt

# For public bridges (legacy-irc.<network>), you should only expose port 6667.
# For private installations, you may also expose 1080, allowing users to
# connect to arbitrary RobustIRC networks (regardless of -network).
EXPOSE 6667 1080

# The following flags have to be specified when starting this container:
# -network
# Refer to -help for documentation on them.
ENTRYPOINT ["/usr/bin/robustirc-bridge", "-listen=:6667", "-socks=:1080"]