Skip to content

Commit

Permalink
feat(image): add skopeo
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrtak-CZ committed Sep 4, 2023
1 parent 6b6c7d6 commit a256a3d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ RUN /tmp/download-aws-cli.sh

COPY scripts/deploy-s3-cf.sh /usr/local/bin/deploy-s3-cf

FROM cookielab/container-image-tools:1.4.0-aws AS container-image-tools

FROM cookielab/slim:12.0

RUN apt update && apt install -y curl jq \
RUN apt update && apt install -y curl jq skopeo \
&& apt-get clean && rm -rf /var/lib/apt/lists/*

COPY --from=build /usr/local/bin /usr/local/bin
Expand All @@ -36,7 +38,10 @@ COPY --from=build /tmp/aws /tmp/aws
RUN /tmp/aws/install
RUN rm -rf /tmp/aws

ARG GITHUB_TOKEN
RUN mkdir ~/.docker
COPY --from=container-image-tools /container-image-tools/bin/docker-* /usr/local/bin/
COPY --from=container-image-tools /etc/containers/policy.json /etc/containers/policy.json
COPY --from=container-image-tools --chown=container:container /container-image-tools/.docker/config.json /container/.docker/config.json

USER 1987

Expand Down

0 comments on commit a256a3d

Please sign in to comment.