mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
* slim down docker cache size Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * remove old centos images Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * troubleshoot test failure Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix wget version ref Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * refactor caching mechanisms Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * add cache cleanup steps Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * simplify deleting cache Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix first clone issue Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * add tool dep Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
14 lines
423 B
Docker
14 lines
423 B
Docker
FROM alpine@sha256:d9a7354e3845ea8466bb00b22224d9116b183e594527fb5b6c3d30bc01a20378 AS base
|
|
|
|
# we keep these unpinned so that if alpine
|
|
# changes our integration tests can adapt
|
|
RUN apk add --no-cache \
|
|
tzdata \
|
|
vim \
|
|
alpine-sdk
|
|
|
|
# we don't need the installed bins for this test, only the APK installed metadata
|
|
FROM scratch
|
|
|
|
COPY --from=base /lib/apk/db/installed /lib/apk/db/installed
|