This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################ | |
# STEP 1 build executable binary | |
################################ | |
FROM golang:1.16-alpine as builder | |
RUN apk update && \ | |
apk add --update bash && \ | |
apk add --no-cache tzdata curl ca-certificates | |
# Create appuser. | |
ENV MY_USER=appuser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "GetBucketsOrListThem", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListBucket", | |
"s3:ListAllMyBuckets", | |
"s3:GetBucketLocation" |