alessandro trinca tornidor
commited on
Commit
·
945877a
1
Parent(s):
ffc7d08
ci: docker, try enabling noble apt repositories using add-apt-repository from ubuntu software-properties-common
Browse files- Dockerfile +8 -5
Dockerfile
CHANGED
@@ -33,15 +33,18 @@ RUN echo "arg dep:"
|
|
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
|
41 |
-
ls -l ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/ubuntu.sources && \
|
42 |
-
cp ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources
|
43 |
RUN ls -l /etc/apt/preferences
|
44 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
RUN cat /etc/lsb-release
|
47 |
# avoid segment-geospatial exception caused by missing libGL.so.1 library
|
|
|
33 |
|
34 |
# Set working directory to function root directory
|
35 |
WORKDIR ${LAMBDA_TASK_ROOT}
|
36 |
+
RUN apt update && apt install git git-lfs software-properties-common -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
|
|
|
|
|
41 |
RUN ls -l /etc/apt/preferences
|
42 |
+
RUN add-apt-repository "deb http://archive.ubuntu.com/ubuntu jammy main universe restricted multiverse" && \
|
43 |
+
add-apt-repository "deb http://archive.ubuntu.com/ubuntu jammy-security main universe restricted multiverse" && \
|
44 |
+
add-apt-repository "deb http://archive.ubuntu.com/ubuntu jammy-updates main universe restricted multiverse" && \
|
45 |
+
add-apt-repository "deb http://archive.ubuntu.com/ubuntu noble main universe restricted multiverse" && \
|
46 |
+
add-apt-repository "deb http://archive.ubuntu.com/ubuntu noble-security main universe restricted multiverse" && \
|
47 |
+
add-apt-repository "deb http://archive.ubuntu.com/ubuntu noble-updates main universe restricted multiverse"
|
48 |
|
49 |
RUN cat /etc/lsb-release
|
50 |
# avoid segment-geospatial exception caused by missing libGL.so.1 library
|