Skip to content
This repository was archived by the owner on Mar 23, 2025. It is now read-only.
This repository was archived by the owner on Mar 23, 2025. It is now read-only.

[Bug Report] stb_image_resize.h 404 error #359

Open
@lifewater

Description

@lifewater

Describe the bug
My docker build is failing because it cannot get stb_image.h

To Reproduce

  1. Use standard config/docker file.
  2. docker compose up -d
  3. https://raw.githubusercontent.com/nothings/stb/master/stb_image_resize.h fails to download (404)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions