File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ FROM alpine:3.15
28
28
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
29
29
30
30
COPY --from=lib-builder /root/dns-aaaa-no-more/getaddrinfo.so /dns-aaaa-no-more/
31
- COPY --from=app-builder /s3proxy/s3proxy /usr/bin/
32
- RUN chmod +x /usr/bin/s3proxy
31
+ COPY --from=app-builder /s3proxy/s3proxy /usr/local/ bin/
32
+ RUN chmod +x /usr/local/ bin/s3proxy
33
33
34
34
EXPOSE 8080
35
35
@@ -38,4 +38,4 @@ USER nobody
38
38
# To fix DNS issues in K8S caused by conntrack race condition (A/AAAA sent in parallel):
39
39
# - cgo resolver is enforced (see https://golang.org/pkg/net/#hdr-Name_Resolution)
40
40
# - getaddrinfo() C function called by cgo resolver is hooked to a new one not sending AAAA DNS requests
41
- ENTRYPOINT GODEBUG=netdns=cgo LD_PRELOAD=/dns-aaaa-no-more/getaddrinfo.so exec /bin/s3proxy
41
+ ENTRYPOINT GODEBUG=netdns=cgo LD_PRELOAD=/dns-aaaa-no-more/getaddrinfo.so exec /usr/local/ bin/s3proxy
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ NAME = s3proxy
2
2
REMOTE_NAME = ${REGISTRY}${NAME}
3
3
4
4
GOPATH ?= ${HOME}/go
5
- VERSION ?= 1.4.2
5
+ VERSION ?= 1.4.2-1
6
6
7
7
LDFLAGS =-ldflags "-X main.version=${VERSION}"
8
8
You can’t perform that action at this time.
0 commit comments