Skip to content

Commit

Permalink
Move label to correct section
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Sep 4, 2023
1 parent 45dc084 commit 4d77c95
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions aws-cli/Containerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
ARG CONTAINER_REGISTRY=docker.io
FROM $CONTAINER_REGISTRY/amazonlinux:2 as installer

LABEL \
org.opencontainers.image.source="https://github.com/boxcutter/oci" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.description="AWS command-line interface."

COPY aws-cli.key /tmp/aws-cli/aws-cli.key

RUN yum update -y \
Expand Down Expand Up @@ -37,6 +32,12 @@ RUN yum update -y \
&& yum clean all

FROM amazonlinux:2

LABEL \
org.opencontainers.image.source="https://github.com/boxcutter/oci" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.description="AWS command-line interface."

RUN yum update -y \
&& yum install -y less groff \
&& yum clean all
Expand Down

0 comments on commit 4d77c95

Please sign in to comment.