Compare commits
2 commits
595f93cb61
...
27312ecfaf
| Author | SHA1 | Date | |
|---|---|---|---|
| 27312ecfaf | |||
| c81715ad1f |
2 changed files with 15 additions and 5 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
|
@ -1,15 +1,22 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
# 0.6.0
|
||||||
|
|
||||||
|
- Replaced dns query usage with calling an external API
|
||||||
|
- Replaced gitlab CI with Woodpecker configuration
|
||||||
|
- Refactored optional dependencies & implemented dependency groups
|
||||||
|
- Moved to uv.lock file for pinning dependencies
|
||||||
|
|
||||||
# 0.5.1
|
# 0.5.1
|
||||||
|
|
||||||
- Update gitlab CI configuration
|
- Update gitlab CI configuration
|
||||||
|
|
||||||
# 0.5.0
|
# 0.5.0
|
||||||
|
|
||||||
- Remove poetry
|
- Removed poetry
|
||||||
- Use `setuptools` for packaging
|
- Use `setuptools` for packaging
|
||||||
- Added a `Makefile`
|
- Added a `Makefile`
|
||||||
- Use `pip-compile` for dependecy management
|
- Use `pip-compile` for dependency management
|
||||||
|
|
||||||
# 0.4.0
|
# 0.4.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
FROM ghcr.io/astral-sh/uv:python3.11-bookworm
|
FROM ghcr.io/astral-sh/uv:python3.11-bookworm
|
||||||
|
|
||||||
|
# copy from the cache instead of linking since mounted volumes are used
|
||||||
|
ENV UV_LINK_MODE=copy
|
||||||
ENV UV_CACHE_DIR=/app/.cache/uv
|
ENV UV_CACHE_DIR=/app/.cache/uv
|
||||||
|
ENV PATH="/app/.venv/bin:$PATH"
|
||||||
|
|
||||||
RUN useradd --shell /bin/bash --uid 1000 transip_client
|
RUN useradd --shell /bin/bash --uid 1000 transip_client
|
||||||
|
|
||||||
|
|
@ -14,12 +17,12 @@ RUN mkdir --parents /app/.cache/uv
|
||||||
RUN --mount=type=cache,uid=1000,target=/app/.cache/uv \
|
RUN --mount=type=cache,uid=1000,target=/app/.cache/uv \
|
||||||
--mount=type=bind,source=uv.lock,target=/app/uv.lock \
|
--mount=type=bind,source=uv.lock,target=/app/uv.lock \
|
||||||
--mount=type=bind,source=pyproject.toml,target=/app/pyproject.toml \
|
--mount=type=bind,source=pyproject.toml,target=/app/pyproject.toml \
|
||||||
uv sync --frozen --no-install-project
|
uv sync --frozen --no-dev --no-install-project
|
||||||
|
|
||||||
COPY pyproject.toml uv.lock /app
|
COPY pyproject.toml uv.lock /app
|
||||||
COPY transip_client /app/transip_client
|
COPY transip_client /app/transip_client
|
||||||
|
|
||||||
# install dependencies + project
|
# install dependencies + project
|
||||||
RUN --mount=type=cache,uid=1000,target=/app/.cache/uv uv sync --frozen
|
RUN --mount=type=cache,uid=1000,target=/app/.cache/uv uv sync --frozen --no-dev
|
||||||
|
|
||||||
ENTRYPOINT ["uv", "run", "--", "transip-listen"]
|
ENTRYPOINT ["transip-listen"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue