-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: build kangas docker image | ||
run-name: Build comet kangas ${{ github.ref_name }} by @${{ github.actor }} | ||
|
||
on: | ||
push: | ||
branches: | ||
- DEV-562-move-datagrid-kangas-server-to-k-8-s | ||
workflow_dispatch: | ||
|
||
jobs: | ||
reusable-workflow: | ||
uses: comet-ml/ga-workflows/.github/workflows/[email protected] | ||
secrets: inherit | ||
with: | ||
docker-registry: ECR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM python:slim | ||
|
||
ENV PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/home/kangas/.local/bin | ||
|
||
RUN useradd --uid 1001 --home-dir /home/kangas --create-home --shell /bin/bash kangas | ||
|
||
USER kangas | ||
WORKDIR /home/kangas | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install awscli kangas --upgrade --no-input | ||
|
||
EXPOSE 4000/tcp 4001/tcp | ||
ENTRYPOINT [ "kangas", "server", "--host=kangas-k8s.comet.com", "--protocol=https" ] |