alessandro trinca tornidor commited on
Commit
02d330e
·
1 Parent(s): a6cc335

ci: add debug step before copy

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -33,12 +33,11 @@ RUN echo "arg dep:"
33
 
34
  # Set working directory to function root directory
35
  WORKDIR ${LAMBDA_TASK_ROOT}
36
- RUN git clone -n --depth=1 --filter=tree:0 https://huggingface.co/spaces/aletrn/samgis-lisa-on-cuda ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda && \
37
- cd ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda && \
38
- git sparse-checkout set --no-cone README.md p\* requirements_poetry.txt static dockerfiles wrappers scripts && \
39
- git checkout
40
- COPY ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/apt_preferences_ubuntu /etc/apt/preferences
41
- COPY ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources
42
  RUN ls -l /etc/apt/preferences
43
  RUN ls -l /etc/apt/sources.list.d/ubuntu.sources
44
 
 
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 && \
39
+ ls -l ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/ubuntu.sources && \
40
+ cp ${LAMBDA_TASK_ROOT}/samgis-lisa-on-cuda/dockerfiles/ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources
 
41
  RUN ls -l /etc/apt/preferences
42
  RUN ls -l /etc/apt/sources.list.d/ubuntu.sources
43