Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Apache License 2.0
18.78k
stars
700
forks
source link
Container setup webpage fails to redirect during debloating #228
I'm currently building a slimmed mediawiki image, and would like to run the initial setup within docker-slim so that it can access all the critical paths effectively, however for some reason, it is unable to handle the redirects from the installer.
Expected Behavior
The installer for mediawiki runs as it normally would, and leaves me with a container that is initialized with admin credentials.
Actual Behavior
The mediawiki gets stuck at the language selection, and is unable to proceed.
Steps to Reproduce the Problem
1. Pull the mediawiki docker image
```
docker pull mediawiki
```
2. start mediawiki in `docker-slim`
```
docker-slim build --publish-port 8080:80 --http-probe=false --continue-after enter mediawiki
```
3. Navigate to http://localhost:8080/
4. select "Setup the wiki"
5. Choose a language, and click "continue"
Ath this point, the container should fail to redirect to the next step. running outside of `docker-slim`, this works without issue, and seems to be specific to slim's environment
---
Specifications
=================
- Version: `docker-slim version linux|Transformer|1.37.0|70cc8acfcb733161ce7e685b81ad6c172643c222|2021-09-23_09:23:43AM`
- Platform: Linux
I'm currently building a slimmed mediawiki image, and would like to run the initial setup within
docker-slim
so that it can access all the critical paths effectively, however for some reason, it is unable to handle the redirects from the installer.Expected Behavior
The installer for mediawiki runs as it normally would, and leaves me with a container that is initialized with admin credentials.
Actual Behavior
The mediawiki gets stuck at the language selection, and is unable to proceed.
Steps to Reproduce the Problem
1. Pull the mediawiki docker image ``` docker pull mediawiki ``` 2. start mediawiki in `docker-slim` ``` docker-slim build --publish-port 8080:80 --http-probe=false --continue-after enter mediawiki ``` 3. Navigate to http://localhost:8080/ 4. select "Setup the wiki" 5. Choose a language, and click "continue" Ath this point, the container should fail to redirect to the next step. running outside of `docker-slim`, this works without issue, and seems to be specific to slim's environment --- Specifications ================= - Version: `docker-slim version linux|Transformer|1.37.0|70cc8acfcb733161ce7e685b81ad6c172643c222|2021-09-23_09:23:43AM` - Platform: Linux