Skip to content

Commit 5f3f9c1

Browse files
authored
Merge pull request #71 from OpenMined/fix_dockerfile
Fix dockerfile
2 parents 38437ca + c205bb5 commit 5f3f9c1

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ jobs:
3434
run: python -m pytest tests/
3535
- name: Python linters
3636
run: .github/workflows/scripts/lint_python.sh
37+
Docker:
38+
runs-on: ubuntu-18.04
39+
steps:
40+
- uses: actions/checkout@v2
41+
- name: Check Image Builds
42+
run: docker build -t pyvertical:latest .

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM python:3.8
1+
FROM python:3.7
22

3-
LABEL version="0.1.0"
3+
LABEL version="0.1.1"
44
LABEL maintainer="OpenMined"
55

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

1617
## 2. Install

0 commit comments

Comments
 (0)