Skip to content

Commit c0b71b2

Browse files
authored
Merge pull request #494 from redhat-performance/development
fix quay release tags and deps
2 parents 17e96f7 + eb20b8f commit c0b71b2

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
FROM quay.io/quads/python39:latest
1+
FROM quay.io/fedora/python-310:latest
22

3-
RUN apk add git && apk update
3+
USER root
4+
5+
RUN dnf install -y git
46

57
RUN git clone https://github.com/redhat-performance/badfish
68

79
WORKDIR badfish
810

9-
RUN apk add build-base
11+
RUN dnf install -y gcc python3-devel
1012
RUN pip install --upgrade pip
1113
RUN pip install --no-cache-dir -r requirements.txt
1214
RUN python -m build
13-
RUN python -m pip install dist/badfish-1.0.3.tar.gz
15+
RUN python -m pip install dist/badfish-1.0.7.tar.gz
1416

1517
ENTRYPOINT ["badfish"]
1618
CMD ["-v"]

Dockerfile_dev

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
FROM quay.io/quads/python39:latest
1+
FROM quay.io/fedora/python-310:latest
22

3-
RUN apk add git && apk update
3+
USER root
4+
5+
RUN dnf install -y git
46

57
RUN git clone https://github.com/redhat-performance/badfish
68

79
WORKDIR badfish
810

911
RUN git checkout development
1012

11-
RUN apk add build-base
13+
RUN dnf install -y gcc python3-devel
1214
RUN pip install --upgrade pip
1315
RUN pip install -r requirements.txt
1416
RUN python -m build
15-
RUN python -m pip install dist/badfish-1.0.3.tar.gz
17+
RUN python -m pip install dist/badfish-1.0.7.tar.gz
1618

1719
ENTRYPOINT ["badfish"]
1820
CMD ["-v"]

0 commit comments

Comments
 (0)