mirror of
https://github.com/gravitational/teleport
synced 2024-10-20 01:03:40 +00:00
a992e6fded
* Distroless dockerfile and smoke tests for same This patch adds a Dockerfile to `build.assets/charts` that will construct a docker image for teleport based on the Distroless Debian images published by Google. The actual workflows used to construct and publish these images are defined in `teleport.e` for security reasons. The Smoke Testing framework exists to make some quick assertions about the resulting images: will Teleport even start in this context, etc. See the included README for more details. * Update README.md * Linter appeasement * Revert spurious submodule update * Rename release component var * Smoke test docs * Smoke test docs * Revert spurious subrepo update
11 lines
302 B
Bash
Executable file
11 lines
302 B
Bash
Executable file
#!/bin/bash
|
|
mkdir -p /opt/staging/root
|
|
mkdir -p /opt/staging/status
|
|
|
|
for pkg in "$@"; do
|
|
apt-get download "$pkg" && dpkg-deb -R $pkg*.deb /tmp/$pkg
|
|
cp /tmp/$pkg/DEBIAN/control /opt/staging/status/$pkg
|
|
rm -r /tmp/$pkg/DEBIAN
|
|
cp -r /tmp/$pkg/* /opt/staging/root
|
|
rm -rf /tmp/$pkg
|
|
done |