lol
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
FROM golang:1.12-alpine AS builder
|
||||
LABEL maintainer 1001Pharmacies <technique+docker@1001pharmacies.com>
|
||||
ARG DOCKER_BUILD_DIR
|
||||
|
||||
ARG GOOFYS_VERSION=v0.20.0
|
||||
|
||||
LABEL maintainer aynic.os <support+docker@asycn.io>
|
||||
|
||||
WORKDIR /go/src/github.com/kahing/goofys/
|
||||
|
||||
RUN apk --no-cache upgrade \
|
||||
@@ -15,6 +15,7 @@ RUN apk --no-cache upgrade \
|
||||
|
||||
FROM alpine:latest as dist
|
||||
ARG DOCKER_BUILD_DIR
|
||||
|
||||
RUN apk add --no-cache ca-certificates
|
||||
COPY --from=builder /go/bin/goofys /bin/goofys
|
||||
|
||||
@@ -22,17 +23,5 @@ ENTRYPOINT ["/bin/goofys"]
|
||||
|
||||
# goofys -f --region $REGION --stat-cache-ttl $STAT_CACHE_TTL --type-cache-ttl $TYPE_CACHE_TTL --dir-mode $DIR_MODE --file-mode $FILE_MODE -o nonempty $BUCKET $MOUNT_DIR
|
||||
|
||||
FROM dist as local
|
||||
ARG DOCKER_BUILD_DIR
|
||||
|
||||
FROM local as debug
|
||||
ARG DOCKER_BUILD_DIR
|
||||
|
||||
FROM local as tests
|
||||
ARG DOCKER_BUILD_DIR
|
||||
|
||||
FROM tests as preprod
|
||||
ARG DOCKER_BUILD_DIR
|
||||
|
||||
FROM preprod as prod
|
||||
FROM dist as master
|
||||
ARG DOCKER_BUILD_DIR
|
||||
|
||||
Reference in New Issue
Block a user