File tree Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 15
15
steps :
16
16
- uses : actions/checkout@v3
17
17
- name : Build the Docker image
18
- run : docker build . --file Dockerfile --tag my-image-name:$(date +%s)
18
+ run : |
19
+ cp .github/workflows/ping .
20
+ docker build . --file Dockerfile --tag my-image-name:$(date +%s)
Original file line number Diff line number Diff line change 28
28
29
29
- name : Run tests
30
30
run : |
31
+ cp .github/workflows/ping .
31
32
if [ -f docker-compose.test.yml ]; then
32
33
docker-compose --file docker-compose.test.yml build
33
34
docker-compose --file docker-compose.test.yml run sut
Original file line number Diff line number Diff line change 1
- FROM python:3.10-slim
1
+ FROM debian:trixie
2
2
3
3
COPY . /app
4
4
WORKDIR /app
5
5
6
- RUN apt-get update && apt-get install --no-install-recommends -y git graphviz cmake\
6
+ COPY ping /usr/bin/ping
7
+ RUN chmod +x /usr/bin/ping
8
+
9
+ RUN apt-get update \
10
+ && apt-get install --no-install-recommends -y git graphviz cmake \
11
+ build-essential gcc-13 g++-13 ca-certificates zlib1g-dev libncurses5-dev \
12
+ libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev \
13
+ libsqlite3-dev wget libbz2-dev \
7
14
&& apt-get clean \
8
15
&& rm -rf /var/lib/apt/lists/*
9
16
10
- RUN pip install pipenv && pipenv install --skip-lock
17
+ RUN wget https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz \
18
+ && tar -xvf Python-3.10.0.tgz \
19
+ && cd Python-3.10.0 \
20
+ && ./configure \
21
+ && make \
22
+ && make altinstall \
23
+ && cd - \
24
+ && ln -s /usr/local/bin/python3.10 /usr/bin/python \
25
+ && ln -s /usr/local/bin/pip3.10 /usr/bin/pip
26
+
27
+ ENV CC=gcc-13 CXX=g++-13
28
+ RUN pip install --upgrade pipenv pip \
29
+ && pipenv install --skip-lock
11
30
RUN pipenv run freshquark
12
31
13
32
WORKDIR /app/quark
You can’t perform that action at this time.
0 commit comments