Skip to content

Instantly share code, notes, and snippets.

@Ompragash
Created January 22, 2025 13:18
Show Gist options
  • Select an option

  • Save Ompragash/d94be2019f60b208e5c0fecfb0000814 to your computer and use it in GitHub Desktop.

Select an option

Save Ompragash/d94be2019f60b208e5c0fecfb0000814 to your computer and use it in GitHub Desktop.

Revisions

  1. Ompragash created this gist Jan 22, 2025.
    9 changes: 9 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    FROM alpine:latest
    # Install basic packages
    RUN apk add --no-cache bash

    RUN --mount=type=secret,id=ARTIFACTORY_ACCESS_TOKEN \
    echo "Token is: $ARTIFACTORY_ACCESS_TOKEN"

    # Set the default command to run when starting the container
    CMD ["bash"]