Skip to content

Commit

Permalink
Fix docker container errors
Browse files Browse the repository at this point in the history
Problem with AWS cli fixed by installing via apk instead of wget
aws/aws-cli#8036

Problem with Maria DB client fixed by installing additional package as recommended:
https://community.home-assistant.io/t/usr-lib-mariadb-plugin-caching-sha2-password-so-cannot-be-found/439973/7
  • Loading branch information
camdesgov committed Feb 15, 2024
1 parent bea0c80 commit 9bec9c2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
FROM python:3-alpine

RUN wget "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" \
&& unzip awscli-bundle.zip \
&& rm awscli-bundle.zip \
&& ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws \
&& rm -r ./awscli-bundle
RUN apk --no-cache add mariadb-client bash gnupg
RUN apk add aws-cli
RUN apk --no-cache add mariadb-connector-c mariadb-client bash gnupg

COPY govwifi-backup.sh ./
RUN chmod +x /govwifi-backup.sh
Expand Down

0 comments on commit 9bec9c2

Please sign in to comment.