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 1515 steps :
1616 - uses : actions/checkout@v3
1717 - 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 2828
2929 - name : Run tests
3030 run : |
31+ cp .github/workflows/ping .
3132 if [ -f docker-compose.test.yml ]; then
3233 docker-compose --file docker-compose.test.yml build
3334 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
22
33COPY . /app
44WORKDIR /app
55
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 \
714 && apt-get clean \
815 && rm -rf /var/lib/apt/lists/*
916
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
1130RUN pipenv run freshquark
1231
1332WORKDIR /app/quark
You can’t perform that action at this time.
0 commit comments