Closed gnawhnehpets closed 6 months ago
This sets up an environment for generating an inventory manifest of objects in an S3 bucket with relevant metadata, including the md5checksum/etag, file size, last modified date, and more.
FROM ubuntu:20.04
FROM ubuntu
Include the following LABELs:
LABEL maintainer="Your Name <your.email@rti.org>"
LABEL base-image="ubuntu:22.04"
LABEL description="Short description of the purpose of this image"
LABEL software-website="https://example.com"
LABEL software-version="1.0.0"
LABEL license="https://www.example.com/legal/end-user-software-license-agreement"
/opt
CMD
Description
This sets up an environment for generating an inventory manifest of objects in an S3 bucket with relevant metadata, including the md5checksum/etag, file size, last modified date, and more.
Dockerfile Structure and Organization:
FROM ubuntu:20.04
instead ofFROM ubuntu
.Metadata
Include the following LABELs:
LABEL maintainer="Your Name <your.email@rti.org>"
LABEL base-image="ubuntu:22.04"
LABEL description="Short description of the purpose of this image"
LABEL software-website="https://example.com"
LABEL software-version="1.0.0"
LABEL license="https://www.example.com/legal/end-user-software-license-agreement"
File and Resource Management:
/opt
.Container Behavior
CMD
to define how the container should run by default (help message is a good default).Assign reviewer