Public | Automated Build

Last pushed: a month ago
Dockerfile
FROM alpine:3.6 # Version of goldfish to install ENV GOLDFISH_VERSION=v0.7.4 \ VAULT_TOKEN= # Directory to put Goldfish binary in WORKDIR /app # Install Goldfish binary and clean up RUN apk --no-cache add \ --virtual build-dependencies \ unzip && \ apk --no-cache add \ jq \ curl \ ca-certificates && \ curl -L -o goldfish https://github.com/Caiyeon/goldfish/releases/download/$GOLDFISH_VERSION/goldfish-linux-amd64 && \ chmod +x ./goldfish && \ apk del build-dependencies #Copy Goldfish files COPY docker.hcl . COPY entrypoint.sh . #Set entrypoint to executable for docker-compose RUN chmod +x ./entrypoint.sh #Default port to expose EXPOSE 8000 #Default command to run CMD /app/goldfish -config=/app/docker.hcl -token=${VAULT_TOKEN}
Source Repository