Skip to content

Commit

Permalink
fix: issue-256-Release docker image for dvt repo (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
sramsrinivasan committed Jun 28, 2022
1 parent 1a7667b commit e3d42cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions samples/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM python:3.7.0-slim
ARG APP_VERSION
COPY google_pso_data_validator-$APP_VERSION-py3-none-any.whl .
ARG _APP_VERSION
COPY google_pso_data_validator-$_APP_VERSION-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-py3-none-any.whl
ENTRYPOINT ["python","-m","data_validation"]
2 changes: 1 addition & 1 deletion samples/docker/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ python setup.py register sdist bdist_wheel

cd samples/docker
cp ../../dist/google_pso_data_validator-${PACKAGE_VERSION}-py3-none-any.whl .
docker build -t data_validation:$PACKAGE_VERSION --build-arg APP_VERSION=$PACKAGE_VERSION .
docker build -t data_validation:$PACKAGE_VERSION --build-arg _APP_VERSION=$PACKAGE_VERSION .
rm google_pso_data_validator-${PACKAGE_VERSION}-py3-none-any.whl

0 comments on commit e3d42cc

Please sign in to comment.