Browse Source

Fix s3cmd image build

pull/145/head
Jérémy DECOOL 2 years ago
parent
commit
5f0f694bae
No known key found for this signature in database GPG Key ID: 60D6FF1081E8575
  1. 2
      s3cmd/Dockerfile
  2. 4
      s3cmd/install.sh

2
s3cmd/Dockerfile

@ -1,4 +1,4 @@
FROM alpine:3.7
FROM alpine:3.15
LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>"
ADD install.sh install.sh

4
s3cmd/install.sh

@ -5,11 +5,11 @@ set -eo pipefail
# install s3cmd
apk update
apk add --no-cache python py-pip py-setuptools git ca-certificates
apk add --no-cache python3 py-pip py-setuptools git ca-certificates
pip install python-magic
git clone https://github.com/s3tools/s3cmd.git /tmp/s3cmd
cd /tmp/s3cmd
python setup.py install
python3 setup.py install
apk del git
rm -rf /tmp/s3cmd

Loading…
Cancel
Save