Skip to content

Commit

Permalink
chore(docker): update images, remove bash
Browse files Browse the repository at this point in the history
update images, remove bash

Signed-off-by: mritd <mritd@linux.com>
  • Loading branch information
mritd committed Apr 30, 2019
1 parent a31551f commit a69e624
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM golang:1.11.3-alpine3.8 AS builder
FROM golang:1.12.4-alpine3.9 AS builder

RUN apk upgrade \
&& apk add git \
&& go get -ldflags '-w -s' \
github.com/shadowsocks/go-shadowsocks2

FROM alpine:3.8
FROM alpine:3.9 AS dist

LABEL maintainer="mritd <mritd1234@gmail.com>"
LABEL maintainer="mritd <mritd@linux.com>"

RUN apk upgrade \
&& apk add bash tzdata \
&& apk add tzdata \
&& rm -rf /var/cache/apk/*

COPY --from=builder /go/bin/go-shadowsocks2 /usr/bin/shadowsocks
Expand Down

0 comments on commit a69e624

Please sign in to comment.