Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building docker image: An error occurred opening image file while finding min/max value. #147

Open
gyrex opened this issue May 29, 2024 · 0 comments

Comments

@gyrex
Copy link
Contributor

gyrex commented May 29, 2024

Hi guys,

I'm getting a "An error occurred opening image file while finding min/max value." error when building the docker image. Any ideas?

./build-docker.sh -r
Forcing a rebuild of ETo data
Building ETo Data
[+] Building 1.0s (10/10) FINISHED                                                                                                                                                                                           docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                                                   0.0s
 => => transferring dockerfile: 335B                                                                                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/alpine:3.10                                                                                                                                                                         0.8s
 => [internal] load .dockerignore                                                                                                                                                                                                      0.0s
 => => transferring context: 126B                                                                                                                                                                                                      0.0s
 => [1/5] FROM docker.io/library/alpine:3.10@sha256:451eee8bedcb2f029756dc3e9d73bab0e7943c1ac55cff3a4861c52a0fdd3e98                                                                                                                   0.0s
 => [internal] load build context                                                                                                                                                                                                      0.0s
 => => transferring context: 103B                                                                                                                                                                                                      0.0s
 => CACHED [2/5] COPY dataPreparer.c /dataPreparer.c                                                                                                                                                                                   0.0s
 => CACHED [3/5] COPY prepareData.sh /prepareData.sh                                                                                                                                                                                   0.0s
 => CACHED [4/5] COPY entrypoint.sh /entrypoint.sh                                                                                                                                                                                     0.0s
 => CACHED [5/5] RUN apk --update add imagemagick gcc libc-dev && chmod +x /entrypoint.sh /prepareData.sh                                                                                                                              0.0s
 => exporting to image                                                                                                                                                                                                                 0.0s
 => => exporting layers                                                                                                                                                                                                                0.0s
 => => writing image sha256:bf139e18a26ca5cd25d7f05701994fb1334d55e1d9067984164faf72801e8cca                                                                                                                                           0.0s
 => => naming to docker.io/library/baseline-eto-data-preparer                                                                                                                                                                          0.0s
Compiling dataPreparer.c...
Downloading ocean mask image...
Connecting to static1.squarespace.com (151.101.64.238:80)
Ocean_Mask.png       100% |********************************| 2939k  0:00:00 ETA
Converting ocean mask image to binary format...
Downloading MOD16 GeoTIFF...
Connecting to files.ntsg.umt.edu (150.131.194.90:80)
MOD16A3_PET_2000_to_   0% |                                | 13435 --:--:-- ETA
MOD16A3_PET_2000_to_   0% |                                | 1310k  0:09:47 ETA
MOD16A3_PET_2000_to_   1% |                                | 5195k  0:03:35 ETA
MOD16A3_PET_2000_to_   2% |                                | 7776k  0:03:10 ETA
MOD16A3_PET_2000_to_   2% |                                | 10.3M  0:02:53 ETA
MOD16A3_PET_2000_to_   3% |*                               | 13.6M  0:02:35 ETA
MOD16A3_PET_2000_to_   4% |*                               | 16.6M  0:02:28 ETA
MOD16A3_PET_2000_to_   5% |*                               | 19.5M  0:02:23 ETA
MOD16A3_PET_2000_to_   6% |**                              | 23.0M  0:02:14 ETA
MOD16A3_PET_2000_to_   7% |**                              | 26.0M  0:02:11 ETA
MOD16A3_PET_2000_to_   7% |**                              | 28.9M  0:02:09 ETA
MOD16A3_PET_2000_to_   8% |**                              | 32.5M  0:02:04 ETA
MOD16A3_PET_2000_to_   9% |***                             | 35.6M  0:02:01 ETA
MOD16A3_PET_2000_to_  10% |***                             | 38.8M  0:01:59 ETA
MOD16A3_PET_2000_to_  11% |***                             | 42.8M  0:01:54 ETA
MOD16A3_PET_2000_to_  12% |****                            | 46.5M  0:01:50 ETA
MOD16A3_PET_2000_to_  13% |****                            | 50.6M  0:01:46 ETA
MOD16A3_PET_2000_to_  15% |****                            | 55.4M  0:01:41 ETA
MOD16A3_PET_2000_to_  16% |*****                           | 61.4M  0:01:34 ETA
MOD16A3_PET_2000_to_  18% |*****                           | 67.4M  0:01:29 ETA
MOD16A3_PET_2000_to_  20% |******                          | 74.4M  0:01:22 ETA
MOD16A3_PET_2000_to_  22% |*******                         | 84.0M  0:01:14 ETA
MOD16A3_PET_2000_to_  25% |********                        | 93.5M  0:01:07 ETA
MOD16A3_PET_2000_to_  28% |*********                       |  104M  0:01:00 ETA
MOD16A3_PET_2000_to_  32% |**********                      |  119M  0:00:52 ETA
MOD16A3_PET_2000_to_  34% |***********                     |  128M  0:00:48 ETA
MOD16A3_PET_2000_to_  36% |***********                     |  133M  0:00:47 ETA
MOD16A3_PET_2000_to_  36% |***********                     |  136M  0:00:47 ETA
MOD16A3_PET_2000_to_  38% |************                    |  140M  0:00:47 ETA
MOD16A3_PET_2000_to_  39% |************                    |  144M  0:00:46 ETA
MOD16A3_PET_2000_to_  40% |************                    |  147M  0:00:46 ETA
MOD16A3_PET_2000_to_  41% |*************                   |  152M  0:00:45 ETA
MOD16A3_PET_2000_to_  42% |*************                   |  156M  0:00:44 ETA
MOD16A3_PET_2000_to_  43% |*************                   |  160M  0:00:44 ETA
MOD16A3_PET_2000_to_  44% |**************                  |  164M  0:00:43 ETA
MOD16A3_PET_2000_to_  45% |**************                  |  168M  0:00:42 ETA
MOD16A3_PET_2000_to_  46% |**************                  |  172M  0:00:42 ETA
MOD16A3_PET_2000_to_  47% |***************                 |  176M  0:00:41 ETA
MOD16A3_PET_2000_to_  49% |***************                 |  181M  0:00:40 ETA
MOD16A3_PET_2000_to_  50% |****************                |  185M  0:00:39 ETA
MOD16A3_PET_2000_to_  51% |****************                |  190M  0:00:38 ETA
MOD16A3_PET_2000_to_  53% |*****************               |  196M  0:00:36 ETA
MOD16A3_PET_2000_to_  54% |*****************               |  202M  0:00:35 ETA
MOD16A3_PET_2000_to_  56% |******************              |  208M  0:00:33 ETA
MOD16A3_PET_2000_to_  58% |******************              |  217M  0:00:31 ETA
MOD16A3_PET_2000_to_  61% |*******************             |  225M  0:00:29 ETA
MOD16A3_PET_2000_to_  63% |********************            |  234M  0:00:26 ETA
MOD16A3_PET_2000_to_  65% |*********************           |  242M  0:00:25 ETA
MOD16A3_PET_2000_to_  67% |*********************           |  248M  0:00:23 ETA
MOD16A3_PET_2000_to_  68% |**********************          |  253M  0:00:22 ETA
MOD16A3_PET_2000_to_  70% |**********************          |  259M  0:00:21 ETA
MOD16A3_PET_2000_to_  72% |***********************         |  266M  0:00:19 ETA
MOD16A3_PET_2000_to_  73% |***********************         |  272M  0:00:18 ETA
MOD16A3_PET_2000_to_  75% |************************        |  278M  0:00:17 ETA
MOD16A3_PET_2000_to_  77% |************************        |  285M  0:00:15 ETA
MOD16A3_PET_2000_to_  78% |*************************       |  290M  0:00:15 ETA
MOD16A3_PET_2000_to_  80% |*************************       |  295M  0:00:14 ETA
MOD16A3_PET_2000_to_  81% |**************************      |  301M  0:00:12 ETA
MOD16A3_PET_2000_to_  83% |**************************      |  307M  0:00:11 ETA
MOD16A3_PET_2000_to_  84% |***************************     |  313M  0:00:10 ETA
MOD16A3_PET_2000_to_  86% |***************************     |  319M  0:00:09 ETA
MOD16A3_PET_2000_to_  88% |****************************    |  326M  0:00:08 ETA
MOD16A3_PET_2000_to_  90% |****************************    |  332M  0:00:06 ETA
MOD16A3_PET_2000_to_  91% |*****************************   |  338M  0:00:05 ETA
MOD16A3_PET_2000_to_  93% |******************************  |  345M  0:00:04 ETA
MOD16A3_PET_2000_to_  95% |******************************  |  351M  0:00:03 ETA
MOD16A3_PET_2000_to_  97% |******************************* |  357M  0:00:02 ETA
MOD16A3_PET_2000_to_  99% |******************************* |  365M  0:00:00 ETA
MOD16A3_PET_2000_to_ 100% |********************************|  368M  0:00:00 ETA
Converting MOD16 GeoTIFF to binary format...
Preparing data...
An error occurred opening image file while finding min/max value.
Killed
ls: Baseline_ETo_Data-Pass_*.bin: No such file or directory
BusyBox v1.30.1 (2021-03-31 04:59:34 UTC) multi-call binary.

Usage: mv [-fin] SOURCE DEST
or: mv [-fin] SOURCE... DIRECTORY

Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY

	-f	Don't prompt before overwriting
	-i	Interactive, prompt before overwrite
	-n	Don't overwrite an existing file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant