Skip to content

Commit b068c0a

Browse files
author
Matthew Fisher
authored
Merge pull request #193 from jwalters-gpsw/master
WAL-E needs AWS_INSTANCE_PROFILE=1 environment variable
2 parents c480c01 + efa46bd commit b068c0a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN buildDeps='gcc git libffi-dev libssl-dev python3-dev python3-pip python3-whe
4040
chown -R postgres /run/postgresql && \
4141
pip install --disable-pip-version-check --no-cache-dir \
4242
envdir==0.7 \
43-
wal-e[aws,azure,google,swift]==v1.0.1 && \
43+
wal-e[aws,azure,google,swift]==v1.0.2 && \
4444
# "upgrade" boto to 2.43.0 + the patch to fix minio connections
4545
pip install --disable-pip-version-check --no-cache-dir --upgrade git+https://github.com/deis/boto@88c980e56d1053892eb940d43a15a68af4ebb5e6 && \
4646
# cleanup

rootfs/docker-entrypoint-initdb.d/001_setup_envdir.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ if [[ "$DATABASE_STORAGE" == "s3" || "$DATABASE_STORAGE" == "minio" ]]; then
3333
if [[ "$AWS_ACCESS_KEY_ID" != "" && "$AWS_SECRET_ACCESS_KEY" != "" ]]; then
3434
echo $AWS_ACCESS_KEY_ID > AWS_ACCESS_KEY_ID
3535
echo $AWS_SECRET_ACCESS_KEY > AWS_SECRET_ACCESS_KEY
36+
else
37+
echo "1" > AWS_INSTANCE_PROFILE
3638
fi
3739
echo $AWS_REGION > AWS_REGION
3840
echo $BUCKET_NAME > BUCKET_NAME

0 commit comments

Comments
 (0)