Commit 6ebd2925 authored by xuezj's avatar xuezj

vim替换vi

parent 3b9418e4
......@@ -13,15 +13,18 @@ ARG BUILD_SCHEMA
ENV SYSTEM_NAME=$SYSTEM_NAME \
BUILD_SCHEMA=$BUILD_SCHEMA
RUN echo -e "${BUILD_SCHEMA//@/\n}" >> ./build_info
RUN echo -e "${BUILD_SCHEMA//@/\n}" >> ./build_info && \
# vi to vim
apk add --no-cache vim && \
rm -rf /usr/bin/vi && \
ln -s /usr/bin/vim /usr/bin/vi
COPY docker-entrypoint.sh .
COPY readyCheck.sh .
# COPY --from=BUILD /code/* ./project/
COPY ./*.jar ./project/
COPY ./lib/* ./project/
COPY ./config/* ./project/
COPY ./application.properties ./project/
COPY readyCheck.sh .
COPY ./*.jar ./project/
CMD ["sh", "docker-entrypoint.sh"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment