HUB
Sign inSign up
base logo

apontador/base

By apontador

•Updated almost 8 years ago

Image
0

2.0K

apontador/base repository overview

⁠Apontador Docker Base Image

Provides a base image that is used as an intermediate image to provide utility scripts for the final images.

More details at: https://docs.docker.com/develop/develop-images/multistage-build/⁠

⁠Scripts


⁠File downloader

Use an environment variable to download a file from an endpoint at container startup. This is useful to get configuration from a remote application (like Spring Cloud Config).

Script location: /usr/local/bin/download-files.sh

⁠Environment variables
  • DOWNLOAD_FILES: Defines a list of files to be downloaded in the startup process.
    • Example: http://sourcefile/config-1.xml#:#/opt/target-file-1.xml|http://sourcefile/config-2.xml#:#/etc/target-file-2.xml

      The initializer will download the file http://sourcefile/config-1.xml⁠ in the path target-file-1.xml and then download from http://sourcefile/config-2.xml⁠ in the path target-file-2.xml

    • Separators:

      • #:#: left side is used as source and the right side as the target path
      • |: the file definition separator
  • CURL_OPTS: cURL additional options.
    • Example: -H 'Authorization: Basic asAXADSADGGG='
Tag summary
Recent tags
Content type
Image
Digest
Size
2.6 MB
Last updated
almost 8 years ago
docker pull apontador/base:latest