Use ADD command for pulling git repos.
This is to fix buildkit caching.
This commit is contained in:
@@ -17,9 +17,7 @@ RUN apk add --no-cache build-base musl-dev git autoconf make texinfo gnutls-dev
|
||||
|
||||
|
||||
FROM build AS build-emacs
|
||||
ARG EMACS_VERSION
|
||||
ARG EMACS_REPO
|
||||
RUN git clone --depth 1 --branch $EMACS_VERSION $EMACS_REPO /root/emacs
|
||||
ADD https://code.fizz.buzz/mirror/emacs.git#emacs-29.1 /root/emacs
|
||||
WORKDIR /root/emacs
|
||||
RUN mkdir /root/dist
|
||||
RUN ./autogen.sh
|
||||
|
||||
Reference in New Issue
Block a user