mirror of
https://github.com/halverneus/static-file-server.git
synced 2024-11-24 09:05:30 +00:00
Updated to Go 1.11.0. Cleaned up README. Updated version of dep.
This commit is contained in:
parent
24c4662416
commit
7800eb86e1
@ -1,8 +1,8 @@
|
||||
FROM golang:1.10.3 as builder
|
||||
FROM golang:1.11.0 as builder
|
||||
|
||||
ENV BUILD_DIR /go/src/github.com/halverneus/static-file-server
|
||||
ENV MAIN github.com/halverneus/static-file-server/bin/serve
|
||||
ENV DEP_VERSION v0.4.1
|
||||
ENV DEP_VERSION v0.5.0
|
||||
|
||||
RUN curl -fsSL -o /usr/local/bin/dep \
|
||||
https://github.com/golang/dep/releases/download/$DEP_VERSION/dep-linux-amd64 && \
|
||||
|
4
Gopkg.lock
generated
4
Gopkg.lock
generated
@ -2,14 +2,16 @@
|
||||
|
||||
|
||||
[[projects]]
|
||||
digest = "1:342378ac4dcb378a5448dd723f0784ae519383532f5e70ade24132c4c8693202"
|
||||
name = "gopkg.in/yaml.v2"
|
||||
packages = ["."]
|
||||
pruneopts = "UT"
|
||||
revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183"
|
||||
version = "v2.2.1"
|
||||
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
inputs-digest = "ce4cfa8aa3eb29f45e7ba341fdeac9820969e663181e81bddfc4a3aa2d5169bb"
|
||||
input-imports = ["gopkg.in/yaml.v2"]
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
||||
|
@ -19,11 +19,11 @@ var (
|
||||
MinorVersion = 3
|
||||
|
||||
// FixVersion of static-file-server.
|
||||
FixVersion = 0
|
||||
FixVersion = 1
|
||||
|
||||
// Text for directly accessing the static-file-server version.
|
||||
Text = fmt.Sprintf(
|
||||
"Version %d.%d.%d",
|
||||
"v%d.%d.%d",
|
||||
MajorVersion,
|
||||
MinorVersion,
|
||||
FixVersion,
|
||||
|
Loading…
Reference in New Issue
Block a user