Browse Source

Entrypoint/exec fix suggested by @csmith, and some more metadata

pull/9/head
Daniel Oaks 5 years ago
parent
commit
357016eab3
2 changed files with 3 additions and 2 deletions
  1. 2
    1
      Dockerfile
  2. 1
    1
      run.sh

+ 2
- 1
Dockerfile View File

@@ -29,6 +29,7 @@ FROM alpine:3.9
29 29
 
30 30
 # metadata
31 31
 LABEL maintainer="daniel@danieloaks.net"
32
+LABEL description="Oragono is a modern, experimental IRC server written in Go"
32 33
 
33 34
 # install latest updates and configure alpine
34 35
 RUN apk update
@@ -54,7 +55,7 @@ WORKDIR /ircd
54 55
 COPY --from=build-env /go/src/github.com/oragono/oragono/oragono.motd /ircd/oragono.motd
55 56
 
56 57
 # launch
57
-CMD /ircd-bin/run.sh
58
+ENTRYPOINT ["/ircd-bin/run.sh"]
58 59
 
59 60
 # # uncomment to debug
60 61
 # RUN apk add --no-cache bash

+ 1
- 1
run.sh View File

@@ -33,4 +33,4 @@ if [ ! -f "/ircd/tls.key" ]; then
33 33
 fi
34 34
 
35 35
 # run!
36
-/ircd-bin/oragono run
36
+exec /ircd-bin/oragono run

Loading…
Cancel
Save