Procházet zdrojové kódy

Minor changes in dockerfile

tags/0.15^2
9seconds před 7 roky
rodič
revize
7128e70e50
1 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. 3
    4
      Dockerfile

+ 3
- 4
Dockerfile Zobrazit soubor

10
     curl \
10
     curl \
11
     git \
11
     git \
12
     make \
12
     make \
13
-    upx \
14
-  && update-ca-certificates
13
+    upx
15
 
14
 
16
 COPY . /go/src/github.com/9seconds/mtg/
15
 COPY . /go/src/github.com/9seconds/mtg/
17
 
16
 
26
 
25
 
27
 FROM scratch
26
 FROM scratch
28
 
27
 
29
-ENTRYPOINT ["/usr/local/bin/mtg"]
28
+ENTRYPOINT ["/mtg"]
30
 ENV MTG_IP=0.0.0.0 \
29
 ENV MTG_IP=0.0.0.0 \
31
     MTG_PORT=3128 \
30
     MTG_PORT=3128 \
32
     MTG_STATS_IP=0.0.0.0 \
31
     MTG_STATS_IP=0.0.0.0 \
34
 EXPOSE 3128 3129
33
 EXPOSE 3128 3129
35
 
34
 
36
 COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
35
 COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
37
-COPY --from=0 /go/src/github.com/9seconds/mtg/mtg /usr/local/bin/mtg
36
+COPY --from=0 /go/src/github.com/9seconds/mtg/mtg /mtg

Načítá se…
Zrušit
Uložit