Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eventsbuildingblock dockerfile alpine #513

Merged
merged 31 commits into from
Jul 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9502245
remove endDate as required field. add dateCreated and createdBy
bingzhang Jun 25, 2019
1ddc1cb
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Jul 15, 2019
3f12c4b
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Jul 22, 2019
99b02bd
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Aug 15, 2019
f1d19cd
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Aug 21, 2019
90d5734
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Aug 26, 2019
041eae7
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Sep 10, 2019
e0e6154
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Sep 25, 2019
607da0b
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Sep 30, 2019
9c185a3
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Oct 2, 2019
77b86e4
Merge tag 'pre-release-1' of https://github.com/rokwire/rokwire-build…
bingzhang Oct 22, 2019
efe73d1
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Oct 31, 2019
3d1bf88
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Nov 13, 2019
636c126
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Dec 2, 2019
9c6948e
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Dec 10, 2019
444fc4b
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Dec 23, 2019
65ff195
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Feb 4, 2020
ebabac9
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Feb 5, 2020
cb024ac
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Mar 11, 2020
e24ae66
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Apr 9, 2020
c1835bc
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Apr 10, 2020
46b5ef6
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Apr 27, 2020
baafa66
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Apr 29, 2020
42dfc3e
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang May 29, 2020
47c7fd0
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Jul 14, 2020
1a42379
Merge branch 'develop' of https://github.com/rokwire/rokwire-building…
bingzhang Jul 16, 2020
6e6b5c5
Merge branch 'eventsbuildingblock_dockerfile_alpine' of https://githu…
bingzhang Jul 22, 2020
ff5bf30
fix docker vulnerability
bingzhang Jul 22, 2020
1a49098
Update eventservice/Dockerfile
bingzhang Jul 22, 2020
9e229d6
Update CHANGELOG.md
sandeep-ps Jul 24, 2020
a7ccca8
Update CHANGELOG.md
sandeep-ps Jul 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- Docker image vulnerabilities in Authentication Building Block. [#499](https://github.com/rokwire/rokwire-building-blocks-api/issues/499)
- Docker image vulnerabilities in Events Building Block. [#484](https://github.com/rokwire/rokwire-building-blocks-api/issues/484)

## [1.6.0] - 2020-07-14
- Add Health Building Block APIs documentation. [#468](https://github.com/rokwire/rokwire-building-blocks-api/issues/468)
Expand Down
11 changes: 9 additions & 2 deletions eventservice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3-alpine3.11

LABEL maintainer="[email protected]"

Expand All @@ -8,7 +8,14 @@ WORKDIR /app
COPY eventservice/events.yaml /app/
COPY eventservice /app/eventservice/
COPY lib /lib/
RUN pip install -r /app/eventservice/requirements.txt


RUN apk --update add python3 py3-pip openssl ca-certificates py3-openssl && \
apk --update add --virtual build-dependencies libffi-dev openssl-dev python3-dev py3-pip build-base && \
pip install --upgrade pip && \
pip install -r /app/eventservice/requirements.txt --no-cache-dir && \
apk del build-dependencies


VOLUME /var/cache/app
WORKDIR /app/eventservice/api
Expand Down