alessandro trinca tornidor
commited on
Commit
•
570845e
1
Parent(s):
02d330e
ci: docker, install git BEFORE exec 'git clone https://huggingface.co/spaces/aletrn/samgis-lisa-on-cuda'
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -33,6 +33,8 @@ RUN echo "arg dep:"
|
|
33 |
|
34 |
# Set working directory to function root directory
|
35 |
WORKDIR ${LAMBDA_TASK_ROOT}
|
|
|
|
|
36 |
RUN git clone https://huggingface.co/spaces/aletrn/samgis-lisa-on-cuda ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda && \
|
37 |
ls -l ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/apt_preferences_ubuntu && \
|
38 |
cp ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/apt_preferences_ubuntu /etc/apt/preferences && \
|
@@ -45,11 +47,10 @@ RUN cat /etc/lsb-release
|
|
45 |
# avoid segment-geospatial exception caused by missing libGL.so.1 library
|
46 |
RUN echo "BUILDER: check libz.s* before start" && ls -l /usr/lib/${ARCH}-linux-gnu/libz.so*
|
47 |
|
48 |
-
RUN apt update && apt upgrade -y && apt install -y libgl1 curl python3-pip
|
49 |
#RUN echo "run update noble..."
|
50 |
#RUN apt update
|
51 |
#RUN apt update && apt install -t noble zlib1g -y
|
52 |
-
RUN git lfs install
|
53 |
RUN echo "BUILDER: check libz.s* after install from trixie" && ls -l /usr/lib/${ARCH}-linux-gnu/libz.so*
|
54 |
|
55 |
RUN ls -l /etc/apt/sources* /etc/apt/preferences*
|
|
|
33 |
|
34 |
# Set working directory to function root directory
|
35 |
WORKDIR ${LAMBDA_TASK_ROOT}
|
36 |
+
RUN apt update && apt install git git-lfs -y
|
37 |
+
RUN git lfs install
|
38 |
RUN git clone https://huggingface.co/spaces/aletrn/samgis-lisa-on-cuda ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda && \
|
39 |
ls -l ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/apt_preferences_ubuntu && \
|
40 |
cp ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/apt_preferences_ubuntu /etc/apt/preferences && \
|
|
|
47 |
# avoid segment-geospatial exception caused by missing libGL.so.1 library
|
48 |
RUN echo "BUILDER: check libz.s* before start" && ls -l /usr/lib/${ARCH}-linux-gnu/libz.so*
|
49 |
|
50 |
+
RUN apt update && apt upgrade -y && apt install -y libgl1 curl python3-pip && apt clean
|
51 |
#RUN echo "run update noble..."
|
52 |
#RUN apt update
|
53 |
#RUN apt update && apt install -t noble zlib1g -y
|
|
|
54 |
RUN echo "BUILDER: check libz.s* after install from trixie" && ls -l /usr/lib/${ARCH}-linux-gnu/libz.so*
|
55 |
|
56 |
RUN ls -l /etc/apt/sources* /etc/apt/preferences*
|