File tree Expand file tree Collapse file tree 6 files changed +17
-21
lines changed
Expand file tree Collapse file tree 6 files changed +17
-21
lines changed Original file line number Diff line number Diff line change 4444 ECR_REPOSITORY : cumulus-geoprocess
4545 IMAGE_TAG : latest
4646 run : |
47- docker build --build-arg GEOPROC_PACKAGE=cwbi-dev :geoproc async_geoprocess \
47+ docker build --build-arg GEOPROC_PACKAGE=main :geoproc async_geoprocess \
4848 --tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \
4949 --tag $ECR_REGISTRY/$ECR_REPOSITORY:dev
5050 docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
Original file line number Diff line number Diff line change @@ -20,19 +20,15 @@ ENV GEOPROC_VENV=${GEOPROC}/venv
2020
2121ENV PATH=${GEOPROC_VENV}/bin:$PATH
2222
23- # RUN apt-get update -y && apt-get install -y \
24- # git \
25- # python3-pip \
26- # python3-venv \
27- # python3-dev \
28- # postgresql-server-dev-all \
29- # libhdf5-dev \
30- # zlib1g-dev \
31- # libnetcdf-dev \
32- # && rm -rf /var/lib/apt/lists/*
33-
34-
35- RUN apt-get -y update \
23+ # solving possible issue of ATP behind a proxy
24+ RUN cat <<EOF > /etc/apt/apt.conf.d/99proxy
25+ Acquire::http::Pipeline-Depth 0;
26+ Acquire::http::No-Cache true;
27+ Acquire::BrokenProxy true;
28+ EOF
29+
30+ RUN apt-get update \
31+ && apt-get -y upgrade \
3632 && apt-get install python3.12-venv -y \
3733 && apt-get remove python3-pil -y \
3834 && apt clean
Original file line number Diff line number Diff line change 1-
21# *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
32# builder
43# *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
Original file line number Diff line number Diff line change 1313
1414CUMULUS_STATIC_HOST = os .getenv ("CUMULUS_STATIC_HOST" )
1515CUMULUS_ACQUIRABLE_FILES = os .getenv ("CUMULUS_ACQUIRABLE_FILES" )
16+ CUMULUS_ACQUIRABLES = os .getenv ("CUMULUS_ACQUIRABLES" )
1617CUMULUS_APPLICATION_KEY = os .getenv ("CUMULUS_APPLICATION_KEY" )
1718
1819S3_ACQUIRABLE_PREFIX = os .getenv ("S3_ACQUIRABLE_PREFIX" )
2728
2829
2930def get_acquirables ():
30- url = f"{ CUMULUS_STATIC_HOST } /api/acquirables "
31+ url = f"{ CUMULUS_STATIC_HOST } { CUMULUS_ACQUIRABLES } "
3132 max_retries = 5
3233 wait_time = 5
3334 for attempt in range (max_retries ):
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services:
88 context : async_geoprocess_init
99 args :
1010 TEST_DATA_TAG : ' 2025-01-31'
11- entrypoint : sleep infinity # override the Dockerfile entrypoint
11+ # entrypoint: sleep infinity # override the Dockerfile entrypoint
1212 environment :
1313 - AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
1414 - AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
@@ -21,6 +21,6 @@ services:
2121 - CUMULUS_ACQUIRABLES=/api/acquirables
2222 - CUMULUS_APPLICATION_KEY=appkey
2323 - GEOPROC_TEST_DATA=/opt/geoproc/fixtures
24- depends_on :
25- api :
26- condition : service_started
24+ # depends_on:
25+ # api:
26+ # condition: service_started
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ services:
4848 context : async_geoprocess
4949 args :
5050 - GDAL_TAG=ubuntu-full-3.9.1
51- - GEOPROC_PACKAGE=refactor/dockerfile-vulnerabilities :geoproc
51+ - GEOPROC_PACKAGE=develop :geoproc
5252 # entrypoint: sleep infinity # override the Dockerfile entrypoint
5353 environment :
5454 - AWS_SQS_ENDPOINT=elasticmq:9324
You can’t perform that action at this time.
0 commit comments