Skip to content

Commit

Permalink
Merge pull request #71 from OpenMined/fix_dockerfile
Browse files Browse the repository at this point in the history
Fix dockerfile
  • Loading branch information
TTitcombe authored Aug 26, 2020
2 parents 38437ca + c205bb5 commit 5f3f9c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ jobs:
run: python -m pytest tests/
- name: Python linters
run: .github/workflows/scripts/lint_python.sh
Docker:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Check Image Builds
run: docker build -t pyvertical:latest .
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.8
FROM python:3.7

LABEL version="0.1.0"
LABEL version="0.1.1"
LABEL maintainer="OpenMined"

COPY . /pyvertical
Expand All @@ -10,7 +10,8 @@ WORKDIR /pyvertical
# See https://docs.bazel.build/versions/master/install-ubuntu.html
## 1. Add bazel distribution
RUN apt install curl gnupg
RUN curl -f https://bazel.build/bazel-release.pub.gpg | apt-key add -
RUN curl -f https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
RUN mv bazel.gpg /etc/apt/trusted.gpg.d/
RUN echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list

## 2. Install
Expand Down

0 comments on commit 5f3f9c1

Please sign in to comment.