Compare commits
2 Commits
7e0d8d90d7
...
6def13d2b6
Author | SHA1 | Date |
---|---|---|
Lukáš Kucharczyk | 6def13d2b6 | |
Lukáš Kucharczyk | 7039e442d9 |
|
@ -7,7 +7,7 @@ steps:
|
||||||
- name: build container
|
- name: build container
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: registry.kucharczyk.xyz/timetracker:latest
|
repo: registry.kucharczyk.xyz/timetracker
|
||||||
tags: latest
|
tags: latest
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
FROM python:3.10-slim-bullseye
|
FROM python:3.10-slim-bullseye
|
||||||
RUN apt update && apt install --no-install-recommends --yes git
|
RUN apt update \
|
||||||
|
&& apt install --no-install-recommends --yes \
|
||||||
|
git \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
ENV VIRTUAL_ENV=/opt/venv
|
ENV VIRTUAL_ENV=/opt/venv
|
||||||
RUN python3 -m venv pip $VIRTUAL_ENV
|
RUN python3 -m venv pip $VIRTUAL_ENV
|
||||||
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||||
|
|
Loading…
Reference in New Issue