Where is the Dockerfile for arigaio/atlas? #805
Unanswered
ClaireNeveu
asked this question in
Q&A
Replies: 1 comment
-
Hi @ClaireNeveu, The official Atlas distribution is built internally from a private repository in Ariga that contains all of our deployments. Happy to share it here with you: # This is a minimal image that contains all of the packages in gcr.io/distroless/static + glibc, libssl, openssl
FROM gcr.io/distroless/base-debian11
ARG ATLAS_EXEC=/atlas
ARG TARGETARCH
COPY --chmod=001 $TARGETARCH/$ATLAS_EXEC /atlas
ENTRYPOINT ["/atlas"] If you want to create a Docker image from source, you can use a docker file similar to this: FROM golang:1.18 as build
RUN go install ariga.io/atlas/cmd/atlas@master
FROM gcr.io/distroless/base-debian11
COPY --from=0 /go/bin/atlas /atlas
ENTRYPOINT ["/atlas"] I'm available on our Discord server, I'll be happy to help you debug whatever you are facing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use the arigaio/atlas image with Google Cloud Build and having some issues there. I went to look for the Dockerfile to see which base image it's using as its base but I can't seem to locate it.
Beta Was this translation helpful? Give feedback.
All reactions