Light, fluffy, and always free - The AWS Local Emulator alternative
fix(docker): /etc/floci/aws/config missing in published Docker images (#740)
Leonid Bogdanov5d51052a5117
diff --git a/docker/Dockerfile.compat b/docker/Dockerfile.compatindex 5211382ee3..ede2b3e268 100644--- a/docker/Dockerfile.compat+++ b/docker/Dockerfile.compat@@ -4,6 +4,7 @@ FROM floci/floci:${VERSION}ENV AWS_DEFAULT_REGION=us-east-1ENV AWS_ACCESS_KEY_ID=testENV AWS_SECRET_ACCESS_KEY=test+ENV AWS_ENDPOINT_URL="http://localhost:4566"ENV AWS_CONFIG_FILE=/etc/floci/aws/configUSER rootdiff --git a/docs/configuration/docker-images.md b/docs/configuration/docker-images.mdindex 2d39c09e1c..6f518a7619 100644--- a/docs/configuration/docker-images.md+++ b/docs/configuration/docker-images.md@@ -81,7 +81,13 @@ The following environment variables are set in both the standard and compat imag| `AWS_DEFAULT_REGION` | `us-east-1` || `AWS_ACCESS_KEY_ID` | `test` || `AWS_SECRET_ACCESS_KEY` | `test` |-| `AWS_CONFIG_FILE` | `/etc/floci/aws/config` (sets `endpoint_url = http://localhost:4566`) |+| `AWS_CONFIG_FILE` | `/etc/floci/aws/config` |++The compat image additionally sets:++| Variable | Value |+|---|---|+| `AWS_ENDPOINT_URL` | `http://localhost:4566` |Override any of them at runtime via `docker run -e` or the Compose `environment` block.diff --git a/docs/configuration/initialization-hooks.md b/docs/configuration/initialization-hooks.mdindex fdebad37fe..d00f74bb41 100644--- a/docs/configuration/initialization-hooks.md+++ b/docs/configuration/initialization-hooks.md@@ -75,7 +75,8 @@ The following environment variables are pre-set in the compat image:| `AWS_DEFAULT_REGION` | `us-east-1` || `AWS_ACCESS_KEY_ID` | `test` || `AWS_SECRET_ACCESS_KEY` | `test` |-| `AWS_CONFIG_FILE` | `/etc/floci/aws/config` (sets `endpoint_url = http://localhost:4566`) |+| `AWS_ENDPOINT_URL` | `http://localhost:4566` |+| `AWS_CONFIG_FILE` | `/etc/floci/aws/config` |Override any of them via `docker run -e` or the compose `environment` block.