I was hoping to easily use this image in a multistage build.
Looks like the workdir is /git, so if I were to have a dockerfile like:
FROM alpine/git as git-pull
RUN git clone -b libreoffice-7-1-1 https://git.libreoffice.org/core libreoffice
FROM ubuntu:20.10 as build
RUN mkdir /app
WORKDIR /app
COPY --from=git-pull /git/libreoffice .
I get COPY failed: stat git/libreoffice: file does not exist
Same with COPY --from=git-pull libreoffice .
COPY failed: stat libreoffice: file does not exist
Looking at the Dockerfile for alpine/git I assume it's because /git is used as a volume. I think that means I won't be able to use alpine/git. I guess I would like some confimation
I was hoping to easily use this image in a multistage build. Looks like the workdir is /git, so if I were to have a dockerfile like:
I get
COPY failed: stat git/libreoffice: file does not exist
Same with
COPY --from=git-pull libreoffice .
COPY failed: stat libreoffice: file does not exist
Looking at the Dockerfile for alpine/git I assume it's because /git is used as a volume. I think that means I won't be able to use alpine/git. I guess I would like some confimation