diff --git a/.gitignore b/.gitignore index a2b202091..ac377563f 100644 --- a/.gitignore +++ b/.gitignore @@ -49,7 +49,15 @@ docs/_build bigquery/docs/generated # Virtual environment +.env +.venv env/ +venv/ +rel_venv/ +ENV/ +env.bak/ +venv.bak/ + coverage.xml # System test environment variables. diff --git a/samples/docker/Dockerfile b/samples/docker/Dockerfile index ac4e36fdf..05cd117bd 100644 --- a/samples/docker/Dockerfile +++ b/samples/docker/Dockerfile @@ -1,9 +1,9 @@ -FROM python:3.7.0-slim +FROM python:3.9.0-slim ARG _APP_VERSION -COPY google_pso_data_validator-${_APP_VERSION}-py3-none-any.whl . +COPY google_pso_data_validator-${_APP_VERSION}-py2.py3-none-any.whl . RUN apt-get update \ && apt-get install gcc -y \ && apt-get clean RUN pip install --upgrade pip -RUN pip install google_pso_data_validator-${_APP_VERSION}-py3-none-any.whl +RUN pip install google_pso_data_validator-${_APP_VERSION}-py2.py3-none-any.whl ENTRYPOINT ["python","-m","data_validation"] diff --git a/samples/docker/build_docker.sh b/samples/docker/build_docker.sh index d85ae41e0..acd41bb7b 100755 --- a/samples/docker/build_docker.sh +++ b/samples/docker/build_docker.sh @@ -25,6 +25,6 @@ cd ../../ python setup.py register sdist bdist_wheel cd samples/docker -cp ../../dist/google_pso_data_validator-${PACKAGE_VERSION}-py3-none-any.whl . +cp ../../dist/google_pso_data_validator-${PACKAGE_VERSION}-py2.py3-none-any.whl . docker build -t data_validation:$PACKAGE_VERSION --build-arg _APP_VERSION=$PACKAGE_VERSION . -rm google_pso_data_validator-${PACKAGE_VERSION}-py3-none-any.whl \ No newline at end of file +rm google_pso_data_validator-${PACKAGE_VERSION}-py2.py3-none-any.whl \ No newline at end of file