{"user":"gstack","name":"openssl-source-code-resource","namespace":"gstack","repository_type":"image","status":1,"status_description":"active","description":"","is_private":false,"is_automated":false,"star_count":1,"pull_count":210,"last_updated":"2025-03-16T17:37:04.058705Z","last_modified":"2025-03-16T17:37:02.962468Z","date_registered":"2021-05-02T16:48:43.923689Z","collaborator_count":0,"affiliation":null,"hub_user":"bgandon","has_starred":false,"full_description":"[![Docker Stars](https:\/\/img.shields.io\/docker\/stars\/gstack\/openssl-source-code-resource.svg?style=plastic)](https:\/\/registry.hub.docker.com\/v2\/repositories\/gstack\/openssl-source-code-resource\/stars\/count\/)\n[![Docker pulls](https:\/\/img.shields.io\/docker\/pulls\/gstack\/openssl-source-code-resource.svg?style=plastic)](https:\/\/registry.hub.docker.com\/v2\/repositories\/gstack\/openssl-source-code-resource)\n<!--\n[![Concourse Build](https:\/\/ci.gstack.io\/api\/v1\/teams\/gk-plat-devs\/pipelines\/keyval-resource\/jobs\/build\/badge)](https:\/\/ci.gstack.io\/teams\/gk-plat-devs\/pipelines\/keyval-resource)\n-->\n[![dockeri.co](https:\/\/dockeri.co\/image\/gstack\/openssl-source-code-resource)](https:\/\/hub.docker.com\/r\/gstack\/openssl-source-code-resource\/)\n\n# OpenSSL source code Resource\n\nOpenSSL source code is made available via [openssl.org\/source][openssl_source]\nor the [artfiles.org mirror][artfiles_mirror]. This Concourse resource allows\nyou to watch for new releases and fetch them.\n\n[openssl_source]: https:\/\/www.openssl.org\/source\/\n[artfiles_mirror]: http:\/\/artfiles.org\/openssl.org\/source\/\n\n\n## Using in a Concourse pipeline\n\nYou can use the Docker image by defining a [resource type][resource_types] in\nyour pipeline YAML definition.\n\n[resource_types]: https:\/\/concourse-ci.org\/resource-types.html\n\nFor example:\n\n```yaml\nresource_types:\n  - name: openssl-source-code\n    type: docker-image\n    source:\n      repository: gstack\/openssl-source-code-resource\n\nresources:\n  - name: openssl-tarball\n    type: openssl-source-code\n    source:\n      family: \"1.1.1\"\n```\n\nTo get the latest OpenSSL v1.1.1 tarball, use such following `get` step in\nyour job's build plan.\n\n```yaml\njobs:\n  - name: compile\n    plan:\n      - get: openssl-tarball\n      # ...\n```\n\n## Source Configuration\n\n- `family`: *Required.* The OpenSSL version family, like `3.0` or `1.1.1`\n  (recommended), or the non-recommended `1.1.0`, `1.0.2`, `1.0.1`, `1.0.0`,\n  `0.9.8`, `0.9.7` and `0.9.6`.\n\n## Behavior\n\n### `check` Step (`check` script): Check for new release versions\n\nGet the latest version of OpenSSL source code in the defined version family.\n\n### `get` Step (`in` script): Fetch release\n\nDownloads the source code tarball for a version.\n\nAlso creates these files in the output artifact directory:\n\n* `version` file with the current version\n* `family` file with the version family\n* `sha256` file with the SHA256 checksum from OpenSSL site (already verified at\n  download by the resource)\n\nWhenever the `sha256` is not provided by the openssl.org download site, then\n`sha1` is tried and checked, then `md5`. Which fingerprint is checked is\ndetailed in the resource logs, and related files are kept in the output artifact\ndirectory. When non is ab-vailable, the resource fails. Whenever the `sha256`\nfile is missing, it is computed from the downloaded file, in order to honor the\nresource contract.\n\n### `put` Step (`out` script): Not implemented\n\nUploading a new OpenSSL source code tarball is not possible.\n\n\n\n\n\n\n## Author and license\n\nCopyright \u00a9 2021-present, Benjamin Gandon, Gstack\n\nLike Concourse, the OpenSSL source code resource is released under the terms of\nthe [Apache 2.0 license](http:\/\/www.apache.org\/licenses\/LICENSE-2.0).\n\n<!--\n# Local Variables:\n# indent-tabs-mode: nil\n# End:\n-->","permissions":{"read":true,"write":false,"admin":false},"media_types":["application\/vnd.docker.container.image.v1+json"],"content_types":["image"],"categories":[],"immutable_tags_settings":{"enabled":false,"rules":[".*"]},"storage_size":46413552,"source":null}