Merge pull request #2379 from thaJeztah/bump_python

Update to python 3.7 (buster) and use build-args
This commit is contained in:
Joffrey F 2019-07-15 10:56:36 -07:00 committed by GitHub
commit 068ddf835d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 7 deletions

View File

@ -1,4 +1,6 @@
FROM python:2.7
ARG PYTHON_VERSION=2.7
FROM python:${PYTHON_VERSION}
RUN mkdir /src
WORKDIR /src

View File

@ -1,4 +1,6 @@
FROM python:3.5
ARG PYTHON_VERSION=3.7
FROM python:${PYTHON_VERSION}
ARG uid=1000
ARG gid=1000

View File

@ -1,4 +1,6 @@
FROM python:3.6
ARG PYTHON_VERSION=3.7
FROM python:${PYTHON_VERSION}
RUN mkdir /src
WORKDIR /src

View File

@ -1,5 +1,6 @@
ARG PYTHON_VERSION=3.6
FROM python:$PYTHON_VERSION-jessie
ARG PYTHON_VERSION=3.7
FROM python:${PYTHON_VERSION}
RUN apt-get update && apt-get -y install \
gnupg2 \
pass \
@ -8,7 +9,7 @@ RUN apt-get update && apt-get -y install \
COPY ./tests/gpg-keys /gpg-keys
RUN gpg2 --import gpg-keys/secret
RUN gpg2 --import-ownertrust gpg-keys/ownertrust
RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-keys | grep ^sec | cut -d/ -f2 | cut -d" " -f1)
RUN yes | pass init $(gpg2 --no-auto-check-trustdb --list-secret-key | awk '/^sec/{getline; $1=$1; print}')
RUN gpg2 --check-trustdb
ARG CREDSTORE_VERSION=v0.6.2
RUN curl -sSL -o /opt/docker-credential-pass.tar.gz \

View File

@ -1,4 +1,6 @@
FROM python:2.7
ARG PYTHON_VERSION=2.7
FROM python:${PYTHON_VERSION}
RUN mkdir /tmp/certs
VOLUME /certs