Skip to content

Commit

Permalink
trying to fix docker pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiansteib committed Feb 24, 2024
1 parent c7c82ba commit 004d100
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
k8s
kubekarma/tests
*
!kubekarma/**
!readme.md
!pyproject.toml
!.git
7 changes: 2 additions & 5 deletions operator.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
FROM python:3.11-buster as builder
# Always set a working directory
RUN apt-get update && apt-get install --no-install-recommends -y git && apt-get clean
WORKDIR /usr/src/app

# Sets utf-8 encoding for Python et al
ENV LANG=C.UTF-8
# Turns off writing .pyc files; superfluous on an ephemeral container.
ENV PYTHONDONTWRITEBYTECODE=1
# Seems to speed things up
ENV PYTHONUNBUFFERED=1

RUN python -m pip install hatch
COPY readme.md .
COPY pyproject.toml .
Expand Down

0 comments on commit 004d100

Please sign in to comment.