Skip to content

Commit 2cf3854

Browse files
authored
Merge pull request #15 from mozilla-it/feature/docker-update
Docker update to match setup.py workflow
2 parents a7a52d6 + 80fec7b commit 2cf3854

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
FROM python:3
2+
LABEL maintainer="Adam Frank afrank@mozilla.com"
23

34
WORKDIR /app
45

56
COPY . /app
67

7-
RUN pip3 install . pytest && \
8-
pytest
9-
10-
8+
RUN python setup.py build test install

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ The cloudsecrets library includes a cli cloud-secrets which exposes all the feat
88

99
Current supported platforms include GCP (secretmanager) and AWS (secrets manager).
1010

11+
## Docker
12+
13+
### Building and Testing
14+
15+
```
16+
docker build -t mozilla/cloudsecrets .
17+
```
18+
1119
## Development
1220

1321
### Prerequisites

0 commit comments

Comments
 (0)