> Status tracked in #106. ## Objective Fix the technical debt in `dev.sh` and the Dockerfile, and extend the container structure-test coverage. ## Tasks ### `dev.sh` - [ ] Implement `getopts` for argument parsing (existing FIXME) - [ ] Add semver validation of arguments (existing FIXME) - [ ] Fix the `PLATEFORM` → `PLATFORM` typo - [ ] Add `set -euo pipefail` and clean error handling ### Dockerfile - [ ] Merge the separate `RUN apt-get install` in the `terraform` and `aws-cli` stages (reduce the number of layers) ### Tests - [ ] Extend `container-structure-tests.yml.template`: negative tests (verify the `root` user is not used), check binaries are in `PATH`
Objective
Fix the technical debt in
dev.shand the Dockerfile, and extend the container structure-test coverage.Tasks
dev.shgetoptsfor argument parsing (existing FIXME)PLATEFORM→PLATFORMtyposet -euo pipefailand clean error handlingDockerfile
RUN apt-get installin theterraformandaws-clistages (reduce the number of layers)Tests
container-structure-tests.yml.template: negative tests (verify therootuser is not used), check binaries are inPATH