Skip to content

container-structure-test

Validate the structure of your container images

The Container Structure Tests provide a powerful framework to validate the structure of a container image. These tests can be used to check the output of commands in an image, as well as verify metadata and contents of the filesystem.

devops

https://github.com/GoogleContainerTools/container-structure-test

arm64 amd64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install container-structure-test

sudo apt install container-structure-test

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    container-structure-test=1.17.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      container-structure-test=1.17.0*

Download URLs

Version SHA256 Size (KB)
1.17.0 1c4ff44fef3b2d56399b6c14bcaa518171034a6f38da121219f6af22e57fb94a 3536
1.16.0 a9a2bca0e106951ddfaa0ce0c5db2fe5cf2ae85d7b99d552a8e73eadeda6e4cb 3270
1.15.0 5ba55a8c3cebf2ee4315f0ab0b096334918357d020a8e017e1c46e024c86f000 3145
1.14.0 f0ec7b870187ea0644e4ca72d3c6ad6b935d8c1e01df7647a4ea3e72ee4b530e 3135
1.13.0 ed598e58d3ea344b52db4c9d2881b9d7e65339bb56bbee9c0db6014211173808 3283
1.11.0 8ec45a1d68636e4e7b3f235badf205a17471d277b6cbbf556807f0e419c3fa73 3247
Version SHA256 Size (KB)
1.17.0 c3c097ed7cf5a56683a172b5eef4698e332e4d3bece7449cd5e8ba436b93e95b 3032
1.16.0 2d9aaea198700484a5333a3411cac5050871bfc2c4b1c80c16434e15bab013d5 2804
1.15.0 e21c36750f01f7756afb561bbecfbd7b858d4e6211b83880b65f4187679d9ee6 2696
1.14.0 f5eba0294df5e4bac370f66281f7e672b2ae2c71844963c1c55ed51f88deefa9 2686
1.13.0 4adcd2117170f4a565c04a9ccc25a9f2aaef0ae1e01689c5b9f9f67134755cfd 2807
1.11.0 4208db484a94ab9d85fdbd285a5d95e17c949b435961b65c6af05f1445c8b433 2774

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for container-structure-test are versioned here.

Click here to see container-structure-test ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/container-structure-test/ops2deb.yml
- name: container-structure-test
  version: 1.11.0
  revision: "2"
  homepage: https://github.com/GoogleContainerTools/container-structure-test
  summary: validate the structure of your container images
  description: |-
    The Container Structure Tests provide a powerful framework to validate the
    structure of a container image. These tests can be used to check the output of
    commands in an image, as well as verify metadata and contents of the
    filesystem.
  fetch: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v{{version}}/container-structure-test-linux-amd64
  script:
    - mv container-structure-test-linux-amd64 {{src}}/usr/bin/container-structure-test

- name: container-structure-test
  version: 1.11.0
  revision: "2"
  architecture: arm64
  homepage: https://github.com/GoogleContainerTools/container-structure-test
  summary: validate the structure of your container images
  description: |-
    The Container Structure Tests provide a powerful framework to validate the
    structure of a container image. These tests can be used to check the output of
    commands in an image, as well as verify metadata and contents of the
    filesystem.
  fetch: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v{{version}}/container-structure-test-linux-{{goarch}}
  script:
    - mv container-structure-test-linux-{{goarch}} {{src}}/usr/bin/container-structure-test

- name: container-structure-test
  matrix:
    architectures:
      - amd64
      - arm64
    versions:
      - 1.13.0
      - 1.14.0
      - 1.15.0
      - 1.16.0
      - 1.17.0
  homepage: https://github.com/GoogleContainerTools/container-structure-test
  summary: validate the structure of your container images
  description: |-
    The Container Structure Tests provide a powerful framework to validate the
    structure of a container image. These tests can be used to check the output of
    commands in an image, as well as verify metadata and contents of the
    filesystem.
  fetch: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v{{version}}/container-structure-test-linux-{{goarch}}
  install:
    - container-structure-test-linux-{{goarch}}:/usr/bin/container-structure-test

The blueprint fetch keyword contains a URL template pointing to container-structure-test releases. Downloaded files are locked in a lockfile versioned here.

Click here to see container-structure-test release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/container-structure-test/ops2deb.lock.yml
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.11.0/container-structure-test-linux-amd64
  sha256: 1524da5fd5a0fc88c4c9257a3de05a45f135df07e6a684380dd5f659b9ce189b
  timestamp: 2022-01-10 09:40:35+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.11.0/container-structure-test-linux-arm64
  sha256: b376ff80134d2d609c591b98d65d653a514755b4861185fd93159af7062ec65d
  timestamp: 2022-01-28 18:33:46+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.13.0/container-structure-test-linux-amd64
  sha256: 1e95f63f6c4deabe82761fdfc7c3e7ecc814b80618b58256e98db14b3edab617
  timestamp: 2022-11-04 05:03:13+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.13.0/container-structure-test-linux-arm64
  sha256: 3a3e703a0e877e4d7d4e5550a949c0f4093ab3ab5e87b7533caea9c6f55d99bb
  timestamp: 2022-11-04 05:03:13+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.14.0/container-structure-test-linux-amd64
  sha256: f778b05f0d7763f17912fc8dd75da630c0f1f9de293fbb63e96dcb19f0587ac0
  timestamp: 2022-11-22 16:23:46+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.14.0/container-structure-test-linux-arm64
  sha256: 6003e4855e669f95d95c6690609f23fa8d546557c92bcbad81ea04b0f5cb9d73
  timestamp: 2022-11-22 16:23:46+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.15.0/container-structure-test-linux-amd64
  sha256: e85893d05eb0716102aafcb68eba417341a92e549b126c9240f2b91d7ce83d5a
  timestamp: 2023-03-15 15:20:47+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.15.0/container-structure-test-linux-arm64
  sha256: e325656f1c1381ce1aa69c4c81a5695ef409d10fd94eedec4b2fac48ba48fe4c
  timestamp: 2023-03-15 15:20:47+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.16.0/container-structure-test-linux-amd64
  sha256: 9cc21a2dbe6f72a6a10195cc3b6fd1db5eb76c4aaeac09b42b06a6f017f4de4a
  timestamp: 2023-08-01 18:20:36+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.16.0/container-structure-test-linux-arm64
  sha256: 116bb1988bff60b711415fbef28dca8da5665544f9b0748866878c4a3b8a2894
  timestamp: 2023-08-01 18:20:36+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.17.0/container-structure-test-linux-amd64
  sha256: 5cac6d8136a1833bb239ce0d0fa751757adc827167ed12e4f784207963a2b9ab
  timestamp: 2024-03-06 15:05:50+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.17.0/container-structure-test-linux-arm64
  sha256: b779811259fcdb41ee8d295dc5de0cca2086d22f662ddb484c5db4ea18ebea19
  timestamp: 2024-03-06 15:05:50+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/container-structure-test.svg)](https://docs.wakemeops.com/packages/container-structure-test)
<a href="https://docs.wakemeops.com/packages/container-structure-test">
  <img src="https://docs.wakemeops.com/badges/container-structure-test.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/container-structure-test.svg
:target: https://docs.wakemeops.com/packages/container-structure-test