Update debian base image (#311)
This commit is contained in:
parent
b01564f179
commit
a277541354
10
.github/workflows/package_all.yaml
vendored
10
.github/workflows/package_all.yaml
vendored
@ -101,7 +101,7 @@ jobs:
|
|||||||
- name: "Build package"
|
- name: "Build package"
|
||||||
run: |
|
run: |
|
||||||
cd release/package
|
cd release/package
|
||||||
./run.sh package debian-10 --for-docker
|
./run.sh package debian-11 --for-docker
|
||||||
./run.sh docker
|
./run.sh docker
|
||||||
- name: "Upload package"
|
- name: "Upload package"
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
@ -143,7 +143,7 @@ jobs:
|
|||||||
name: ubuntu-2004
|
name: ubuntu-2004
|
||||||
path: build/output/ubuntu-20.04/memgraph*.deb
|
path: build/output/ubuntu-20.04/memgraph*.deb
|
||||||
|
|
||||||
debian-10-platform:
|
debian-11-platform:
|
||||||
runs-on: [self-hosted, DockerMgBuild]
|
runs-on: [self-hosted, DockerMgBuild]
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
@ -153,9 +153,9 @@ jobs:
|
|||||||
fetch-depth: 0 # Required because of release/get_version.py
|
fetch-depth: 0 # Required because of release/get_version.py
|
||||||
- name: "Build package"
|
- name: "Build package"
|
||||||
run: |
|
run: |
|
||||||
./release/package/run.sh package debian-10 --for-platform
|
./release/package/run.sh package debian-11 --for-platform
|
||||||
- name: "Upload package"
|
- name: "Upload package"
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: debian-10-platform
|
name: debian-11-platform
|
||||||
path: build/output/debian-10/memgraph*.deb
|
path: build/output/debian-11/memgraph*.deb
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
FROM debian:buster
|
FROM debian:bullseye
|
||||||
# NOTE: If you change the base distro update release/package as well.
|
# NOTE: If you change the base distro update release/package as well.
|
||||||
|
|
||||||
ARG deb_release
|
ARG deb_release
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
openssl libcurl4 libssl1.1 libseccomp2 python3 libpython3.7 python3-pip \
|
openssl libcurl4 libssl1.1 libseccomp2 python3 libpython3.9 python3-pip \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
RUN pip3 install networkx==2.4 numpy==1.19.2 scipy==1.5.2
|
RUN pip3 install networkx==2.4 numpy==1.21.4 scipy==1.7.3
|
||||||
|
|
||||||
COPY ${deb_release} /
|
COPY ${deb_release} /
|
||||||
|
|
||||||
|
@ -100,8 +100,8 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
docker)
|
docker)
|
||||||
# NOTE: Docker is build on top of Debian 10 package.
|
# NOTE: Docker is build on top of Debian 11 package.
|
||||||
based_on_os="debian-10"
|
based_on_os="debian-11"
|
||||||
# shellcheck disable=SC2012
|
# shellcheck disable=SC2012
|
||||||
last_package_name=$(cd "$HOST_OUTPUT_DIR/$based_on_os" && ls -t memgraph* | head -1)
|
last_package_name=$(cd "$HOST_OUTPUT_DIR/$based_on_os" && ls -t memgraph* | head -1)
|
||||||
docker_build_folder="$PROJECT_ROOT/release/docker"
|
docker_build_folder="$PROJECT_ROOT/release/docker"
|
||||||
|
Loading…
Reference in New Issue
Block a user