Skip to content

Commit

Permalink
try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jana Kh A O Almuqaisib authored and root committed Aug 12, 2024
1 parent 5a6d195 commit 5932998
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cicd/crabtaskworker_pypi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# caching wmcore src, need for building TaskManagerRun.tar.gz
# FROM python:3.8 as wmcore-src
# SHELL ["/bin/bash", "-c"]
# # Use the "magic" requirements.txt from crabserver pypi
# COPY cicd/crabserver_pypi/ .
# RUN wmcore_repo="$(grep -v '^\s*#' wmcore_requirements.txt | cut -d' ' -f1)" \
# && wmcore_version="$(grep -v '^\s*#' wmcore_requirements.txt | cut -d' ' -f2)" \
# && git clone ${wmcore_repo} -b "${wmcore_version}" /WMCore \
# && ( cd /WMCore; git status ) \
# && echo "${wmcore_version}" > /wmcore_version
caching wmcore src, need for building TaskManagerRun.tar.gz
FROM python:3.8 as wmcore-src
SHELL ["/bin/bash", "-c"]
# Use the "magic" requirements.txt from crabserver pypi
COPY cicd/crabserver_pypi/ .
RUN wmcore_repo="$(grep -v '^\s*#' wmcore_requirements.txt | cut -d' ' -f1)" \
&& wmcore_version="$(grep -v '^\s*#' wmcore_requirements.txt | cut -d' ' -f2)" \
&& git clone ${wmcore_repo} -b "${wmcore_version}" /WMCore \
&& ( cd /WMCore; git status ) \
&& echo "${wmcore_version}" > /wmcore_version

# create data files ./data
FROM python:3.8 as build-data
Expand Down

0 comments on commit 5932998

Please sign in to comment.