1
1
ARG GOLANG="1.11.5"
2
2
FROM golang:${GOLANG} as builder
3
3
4
- ARG IMAGINARY_VERSION="dev "
4
+ ARG IMAGINARY_VERSION="1.1.1 "
5
5
ARG LIBVIPS_VERSION="8.7.4"
6
6
ARG GOLANG
7
7
@@ -38,7 +38,7 @@ WORKDIR /tmp
38
38
RUN curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "${GOPATH}/bin" v1.16.0
39
39
40
40
41
- WORKDIR ${GOPATH}/src/github.com/photoslurporg /imaginary
41
+ WORKDIR ${GOPATH}/src/github.com/h2non /imaginary
42
42
43
43
# Copy imaginary sources
44
44
COPY . .
@@ -54,7 +54,7 @@ RUN GO111MODULE=off golangci-lint run ./...
54
54
RUN GO111MODULE=off go build -a \
55
55
-o ${GOPATH}/bin/imaginary \
56
56
-ldflags="-s -w -h -X main.Version=${IMAGINARY_VERSION}" \
57
- github.com/photoslurporg /imaginary
57
+ github.com/h2non /imaginary
58
58
59
59
FROM debian:stretch-slim
60
60
@@ -63,8 +63,8 @@ ARG IMAGINARY_VERSION
63
63
LABEL maintainer=
"[email protected] " \
64
64
org.label-schema.description="Fast, simple, scalable HTTP microservice for high-level image processing with first-class Docker support" \
65
65
org.label-schema.schema-version="1.0" \
66
- org.label-schema.url="https://github.com/photoslurporg /imaginary" \
67
- org.label-schema.vcs-url="https://github.com/photoslurporg /imaginary" \
66
+ org.label-schema.url="https://github.com/h2non /imaginary" \
67
+ org.label-schema.vcs-url="https://github.com/h2non /imaginary" \
68
68
org.label-schema.version="${IMAGINARY_VERSION}"
69
69
70
70
COPY --from=builder /usr/local/lib /usr/local/lib
0 commit comments