We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug My docker build is failing because it cannot get stb_image.h
To Reproduce
Expected behavior Was expecting the docker image to build
Environment (please complete the following information): Centos 7.9 Mango 0.27.0
Docker (if you are running Mango in a Docker container) [lifewater@utilserver Mango]$ cat docker-compose.yml version: '3'
services: mango: container_name: mango build: context: . dockerfile: ./Dockerfile expose: - ${PORT} ports: - "${PORT}:9000" volumes: - ${MAIN_DIRECTORY_PATH}:/root/mango - ${CONFIG_DIRECTORY_PATH}:/root/.config/mango [lifewater@laifugameserver Mango]$ cat .env
PORT=9000
MAIN_DIRECTORY_PATH=/home/lifewater/apps/Mango
CONFIG_DIRECTORY_PATH=/home/lifewater/apps/Mango/config [lifewater@utilserver Mango]$
Additional context 130.1 mkdir -p objects 130.1 mv libwebp.o objects 130.1 cd objects && ar x ../libwebp-1.1.0/src/libwebp.a 130.1 cd objects && ar rcs libwebp.a *.o 130.1 mv objects/libwebp.a . 130.1 make[2]: Leaving directory '/Mango/lib/image_size/ext/libwebp' 130.1 make[2]: Entering directory '/Mango/lib/image_size/ext/stbi' 130.1 wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h 130.1 Connecting to raw.githubusercontent.com (185.199.108.133:443) 130.1 saving to 'stb_image.h' 130.1 stb_image.h 100% |********************************| 276k 0:00:00 ETA 130.1 'stb_image.h' saved 130.1 wget https://raw.githubusercontent.com/nothings/stb/master/stb_image_resize.h 130.1 Connecting to raw.githubusercontent.com (185.199.108.133:443) 130.1 wget: server returned error: HTTP/1.1 404 Not Found 130.1 make[2]: *** [Makefile:11: stb_image_resize.h] Error 1 130.1 make[2]: Leaving directory '/Mango/lib/image_size/ext/stbi' 130.1 make[1]: *** [Makefile:4: all] Error 2 130.1 make[1]: Leaving directory '/Mango/lib/image_size' 130.1 make: *** [Makefile:21: libs] Error 1
The text was updated successfully, but these errors were encountered:
appears that the stb repo changed 3 weeks ago and https://raw.githubusercontent.com/nothings/stb/master/stb_image_resize.h was removed and changed to https://raw.githubusercontent.com/nothings/stb/master/stb_image_resize2.h, while version 1 was moved to a deprecated space. Possibly the cause.
Sorry, something went wrong.
I had fixed this problem in my repo, just replace “hkalexling/image_size.cr” in shard.yml and shard.lock with “akkoyk/image_size.cr”.
No branches or pull requests
Describe the bug
My docker build is failing because it cannot get stb_image.h
To Reproduce
Expected behavior
Was expecting the docker image to build
Environment (please complete the following information):
Centos 7.9
Mango 0.27.0
Docker (if you are running Mango in a Docker container)
[lifewater@utilserver Mango]$ cat docker-compose.yml
version: '3'
services:
mango:
container_name: mango
build:
context: .
dockerfile: ./Dockerfile
expose:
- ${PORT}
ports:
- "${PORT}:9000"
volumes:
- ${MAIN_DIRECTORY_PATH}:/root/mango
- ${CONFIG_DIRECTORY_PATH}:/root/.config/mango
[lifewater@laifugameserver Mango]$ cat .env
Port that exposes the HTTP frontend
PORT=9000
Path to the mango main directory
This directory holds the database and the library files
MAIN_DIRECTORY_PATH=/home/lifewater/apps/Mango
Path to the mango config directory
This directory holds the mango configuration path
CONFIG_DIRECTORY_PATH=/home/lifewater/apps/Mango/config
[lifewater@utilserver Mango]$
Additional context
130.1 mkdir -p objects
130.1 mv libwebp.o objects
130.1 cd objects && ar x ../libwebp-1.1.0/src/libwebp.a
130.1 cd objects && ar rcs libwebp.a *.o
130.1 mv objects/libwebp.a .
130.1 make[2]: Leaving directory '/Mango/lib/image_size/ext/libwebp'
130.1 make[2]: Entering directory '/Mango/lib/image_size/ext/stbi'
130.1 wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
130.1 Connecting to raw.githubusercontent.com (185.199.108.133:443)
130.1 saving to 'stb_image.h'
130.1 stb_image.h 100% |********************************| 276k 0:00:00 ETA
130.1 'stb_image.h' saved
130.1 wget https://raw.githubusercontent.com/nothings/stb/master/stb_image_resize.h
130.1 Connecting to raw.githubusercontent.com (185.199.108.133:443)
130.1 wget: server returned error: HTTP/1.1 404 Not Found
130.1 make[2]: *** [Makefile:11: stb_image_resize.h] Error 1
130.1 make[2]: Leaving directory '/Mango/lib/image_size/ext/stbi'
130.1 make[1]: *** [Makefile:4: all] Error 2
130.1 make[1]: Leaving directory '/Mango/lib/image_size'
130.1 make: *** [Makefile:21: libs] Error 1
The text was updated successfully, but these errors were encountered: