diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 index b651616..9809e42 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,8 @@ +FROM frolvlad/alpine-glibc:alpine-3.9_glibc-2.29 +RUN apk update && apk add --no-cache ca-certificates git -FROM golang:1.13-alpine as certs -RUN apk update && apk add --no-cache ca-certificates - -FROM busybox:glibc RUN mkdir -p /var/log WORKDIR /main -COPY --from=certs /etc/ssl/certs /etc/ssl/certs COPY . . @@ -13,4 +10,3 @@ ENV GOPATH="" ENV MNT="/mnt/" ENTRYPOINT ["/main/exec-notes-server"] CMD [] - diff --git a/TODO b/TODO old mode 100644 new mode 100755 diff --git a/filetree/paths.go b/filetree/paths.go index 7c3649a..c1e7aa1 100755 --- a/filetree/paths.go +++ b/filetree/paths.go @@ -5,6 +5,9 @@ type Paths []Path func (p Paths) List(full ...bool) string { content := "