github.com/Azure/aad-pod-identity@v1.8.17/examples/rest-api/client/Dockerfile (about)

     1  # Use a lean image
     2  FROM appropriate/curl
     3  
     4  # Set the working directory to /app
     5  WORKDIR /app
     6  
     7  # Copy the script into the container at /app
     8  ADD script.sh /app
     9  
    10  # Install jq (to parse JSON)
    11  RUN apk add --update jq && rm -rf /var/cache/apk/*
    12  
    13  # Define environment variable
    14  ENV RESOURCE "MISSING"
    15  
    16  # Run shell script
    17  CMD ["sh", "script.sh"]