focusprogram commited on
Commit
ffac13b
·
verified ·
1 Parent(s): b06e40e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -16
Dockerfile CHANGED
@@ -1,25 +1,9 @@
1
  FROM finab/bark-server:latest
2
 
3
-
4
- LABEL maintainer="mritd <mritd@linux.com>"
5
-
6
- # set up nsswitch.conf for Go's "netgo" implementation
7
- # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
8
- # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
9
- RUN echo 'hosts: files dns' > /etc/nsswitch.conf
10
-
11
- # default timezon
12
- # override it with `--build-arg TIMEZONE=xxxx`
13
  ARG TIMEZONE=Asia/Shanghai
14
 
15
  ENV TZ=${TIMEZONE}
16
 
17
- RUN set -ex \
18
- && apk upgrade \
19
- && apk add --no-cache bash ca-certificates tzdata \
20
- && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
21
- && echo ${TZ} > /etc/timezone
22
-
23
  COPY --from=builder /go/bin/bark-server /usr/local/bin/bark-server
24
  COPY --from=builder /go/src/github.com/finb/bark-server/deploy/entrypoint.sh /entrypoint.sh
25
 
 
1
  FROM finab/bark-server:latest
2
 
 
 
 
 
 
 
 
 
 
 
3
  ARG TIMEZONE=Asia/Shanghai
4
 
5
  ENV TZ=${TIMEZONE}
6
 
 
 
 
 
 
 
7
  COPY --from=builder /go/bin/bark-server /usr/local/bin/bark-server
8
  COPY --from=builder /go/src/github.com/finb/bark-server/deploy/entrypoint.sh /entrypoint.sh
9