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.19.1*

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

Download URLs

Version SHA256 Size (KB)
1.19.1 a10d744e388c435473cffec09fd7d0222008a524280afd49955fe6eb9b7ad811 3536
1.19.0 1d8a28e83941c1fdcef250108e9d016d073c570d724ee8fab4268c9c4f035976 3535
1.18.1 bf4efcc18940ea1a402d3e2d9ad7afd3562b50c5f7db3a34d52a5b778b3f5ad2 3535
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.19.1 9e9f5a214eb6046c3cb323a20639f0199d2a3cea5a0a81e6338eff2b76197fa4 3033
1.19.0 5d46c5e60c5cf7582ee177f0eb8caae5480c604618894064d9ea6c73d2b82e7d 3036
1.18.1 937054084d116ccf9a162c8b93b6ece1745fc5f480f2960b04b59e4d9c438b62 3034
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
      - 1.18.1
      - 1.19.0
      - 1.19.1
  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
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.18.1/container-structure-test-linux-amd64
  sha256: be766c763462c773fb0e90f3d345944db3412d02053cacdf51b55bc67fb5ca03
  timestamp: 2024-05-04 00:21:00+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.18.1/container-structure-test-linux-arm64
  sha256: fd83c07a1fc0776615759fe2ae9822910493d2e5884d6610381e2a239e1a3e56
  timestamp: 2024-05-04 00:21:00+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.19.0/container-structure-test-linux-amd64
  sha256: fa348a16f8d1d5637ebdc8ae4d8e1485b7574fcf79d12bea8db5fda8d5437f75
  timestamp: 2024-07-17 18:07:22+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.19.0/container-structure-test-linux-arm64
  sha256: 569d5a510a6b764835dc2d13e4afd46b582c3b1f1860dc9ed8aa2c903d9887c7
  timestamp: 2024-07-17 18:07:22+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.19.1/container-structure-test-linux-amd64
  sha256: eca49ca5e8fa2a6e1fbafe9725ecf87eb2f05d49bdd65208d912cb4fbd5846bb
  timestamp: 2024-07-22 21:05:45+00:00
- url: https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.19.1/container-structure-test-linux-arm64
  sha256: e4cca33b36c33eb57947795d24220d8a924f3882c2cf1f3ec4154ee1bc6af627
  timestamp: 2024-07-22 21:05:45+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