Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

Commit c1af718

Browse files
authored
update Docker base images (#212)
1 parent 8efc01d commit c1af718

File tree

4 files changed

+76
-63
lines changed

4 files changed

+76
-63
lines changed

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*
2+
!Pipfile*
3+
!pip*
4+
!kube_ops_view

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.7-alpine3.8
1+
FROM python:3.7-alpine3.9
22

33
WORKDIR /
44

@@ -13,7 +13,7 @@ RUN /pipenv-install.py && \
1313
apk del python3-dev gcc musl-dev zlib-dev libffi-dev openssl-dev && \
1414
rm -rf /var/cache/apk/* /root/.cache /tmp/*
1515

16-
FROM python:3.7-alpine3.8
16+
FROM python:3.7-alpine3.9
1717

1818
WORKDIR /
1919

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ test:
1616
pipenv run coverage report
1717

1818
appjs:
19-
docker run $(TTYFLAGS) -u $$(id -u) -v $$(pwd):/workdir -w /workdir/app -e NPM_CONFIG_CACHE=/tmp node:11.4-alpine npm install
20-
docker run $(TTYFLAGS) -u $$(id -u) -v $$(pwd):/workdir -w /workdir/app -e NPM_CONFIG_CACHE=/tmp node:11.4-alpine npm run build
19+
docker run $(TTYFLAGS) -u $$(id -u) -v $$(pwd):/workdir -w /workdir/app -e NPM_CONFIG_CACHE=/tmp node:11.10-alpine npm install
20+
docker run $(TTYFLAGS) -u $$(id -u) -v $$(pwd):/workdir -w /workdir/app -e NPM_CONFIG_CACHE=/tmp node:11.10-alpine npm run build
2121

2222
docker: appjs
2323
docker build --build-arg "VERSION=$(VERSION)" -t "$(IMAGE):$(TAG)" .

app/package-lock.json

Lines changed: 68 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)