Skip to content

Instantly share code, notes, and snippets.

@youhey
Created March 6, 2020 08:36
Show Gist options
  • Save youhey/7c517dba657c2c04824bb7816d93e1c1 to your computer and use it in GitHub Desktop.
Save youhey/7c517dba657c2c04824bb7816d93e1c1 to your computer and use it in GitHub Desktop.
RUN apk add --no-cache --virtual .download-deps \
curl \
&& curl -sSL "https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh" \
-o "wait-for-it.sh" \
&& apk del .download-deps \
&& chmod +x wait-for-it.sh \
&& mv wait-for-it.sh /usr/local/bin/wait-for-it
@youhey
Copy link
Author

youhey commented Mar 6, 2020

使い方のイメージ

  init-s3:
    build: ./docker/awscli
    environment:
      - AWS_DEFAULT_REGION=ap-northeast-1
      - AWS_DEFAULT_OUTPUT=json
      - AWS_ACCESS_KEY_ID=youhey
      - AWS_SECRET_ACCESS_KEY=youhey
    networks:
      - backend
    depends_on:
      - localstack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment