python 3.10.6
This commit is contained in:
parent
ef4a94ed78
commit
aa0f6ecd75
|
@ -1,11 +1,11 @@
|
||||||
# pulls community scripts from git repo
|
# pulls community scripts from git repo
|
||||||
FROM python:3.10-slim AS GET_SCRIPTS_STAGE
|
FROM python:3.10.6-slim AS GET_SCRIPTS_STAGE
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends git && \
|
apt-get install -y --no-install-recommends git && \
|
||||||
git clone https://github.com/amidaware/community-scripts.git /community-scripts
|
git clone https://github.com/amidaware/community-scripts.git /community-scripts
|
||||||
|
|
||||||
FROM python:3.10-slim
|
FROM python:3.10.6-slim
|
||||||
|
|
||||||
ENV TACTICAL_DIR /opt/tactical
|
ENV TACTICAL_DIR /opt/tactical
|
||||||
ENV TACTICAL_READY_FILE ${TACTICAL_DIR}/tmp/tactical.ready
|
ENV TACTICAL_READY_FILE ${TACTICAL_DIR}/tmp/tactical.ready
|
||||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
name: Tests
|
name: Tests
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10.4"]
|
python-version: ["3.10.6"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
@ -34,9 +34,9 @@ MESH_VER = "1.0.60"
|
||||||
NATS_SERVER_VER = "2.8.4"
|
NATS_SERVER_VER = "2.8.4"
|
||||||
|
|
||||||
# for the update script, bump when need to recreate venv
|
# for the update script, bump when need to recreate venv
|
||||||
PIP_VER = "31"
|
PIP_VER = "32"
|
||||||
|
|
||||||
SETUPTOOLS_VER = "62.6.0"
|
SETUPTOOLS_VER = "64.0.3"
|
||||||
WHEEL_VER = "0.37.1"
|
WHEEL_VER = "0.37.1"
|
||||||
|
|
||||||
AGENT_BASE_URL = "https://agents.tacticalrmm.com"
|
AGENT_BASE_URL = "https://agents.tacticalrmm.com"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# creates python virtual env
|
# creates python virtual env
|
||||||
FROM python:3.10.4-slim AS CREATE_VENV_STAGE
|
FROM python:3.10.6-slim AS CREATE_VENV_STAGE
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
@ -21,14 +21,14 @@ RUN apt-get update && \
|
||||||
pip install --no-cache-dir -r ${TACTICAL_TMP_DIR}/api/requirements.txt
|
pip install --no-cache-dir -r ${TACTICAL_TMP_DIR}/api/requirements.txt
|
||||||
|
|
||||||
# pulls community scripts from git repo
|
# pulls community scripts from git repo
|
||||||
FROM python:3.10.4-slim AS GET_SCRIPTS_STAGE
|
FROM python:3.10.6-slim AS GET_SCRIPTS_STAGE
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends git && \
|
apt-get install -y --no-install-recommends git && \
|
||||||
git clone https://github.com/amidaware/community-scripts.git /community-scripts
|
git clone https://github.com/amidaware/community-scripts.git /community-scripts
|
||||||
|
|
||||||
# runtime image
|
# runtime image
|
||||||
FROM python:3.10.4-slim
|
FROM python:3.10.6-slim
|
||||||
|
|
||||||
# set env variables
|
# set env variables
|
||||||
ENV VIRTUAL_ENV /opt/venv
|
ENV VIRTUAL_ENV /opt/venv
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SCRIPT_VERSION="66"
|
SCRIPT_VERSION="67"
|
||||||
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/install.sh'
|
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/install.sh'
|
||||||
|
|
||||||
sudo apt install -y curl wget dirmngr gnupg lsb-release
|
sudo apt install -y curl wget dirmngr gnupg lsb-release
|
||||||
|
@ -12,7 +12,7 @@ RED='\033[0;31m'
|
||||||
NC='\033[0m'
|
NC='\033[0m'
|
||||||
|
|
||||||
SCRIPTS_DIR='/opt/trmm-community-scripts'
|
SCRIPTS_DIR='/opt/trmm-community-scripts'
|
||||||
PYTHON_VER='3.10.4'
|
PYTHON_VER='3.10.6'
|
||||||
SETTINGS_FILE='/rmm/api/tacticalrmm/tacticalrmm/settings.py'
|
SETTINGS_FILE='/rmm/api/tacticalrmm/tacticalrmm/settings.py'
|
||||||
|
|
||||||
TMP_FILE=$(mktemp -p "" "rmminstall_XXXXXXXXXX")
|
TMP_FILE=$(mktemp -p "" "rmminstall_XXXXXXXXXX")
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SCRIPT_VERSION="40"
|
SCRIPT_VERSION="41"
|
||||||
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/restore.sh'
|
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/restore.sh'
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
@ -13,7 +13,7 @@ RED='\033[0;31m'
|
||||||
NC='\033[0m'
|
NC='\033[0m'
|
||||||
|
|
||||||
SCRIPTS_DIR='/opt/trmm-community-scripts'
|
SCRIPTS_DIR='/opt/trmm-community-scripts'
|
||||||
PYTHON_VER='3.10.4'
|
PYTHON_VER='3.10.6'
|
||||||
SETTINGS_FILE='/rmm/api/tacticalrmm/tacticalrmm/settings.py'
|
SETTINGS_FILE='/rmm/api/tacticalrmm/tacticalrmm/settings.py'
|
||||||
|
|
||||||
TMP_FILE=$(mktemp -p "" "rmmrestore_XXXXXXXXXX")
|
TMP_FILE=$(mktemp -p "" "rmmrestore_XXXXXXXXXX")
|
||||||
|
@ -175,7 +175,7 @@ print_green 'Restoring systemd services'
|
||||||
sudo cp $tmp_dir/systemd/* /etc/systemd/system/
|
sudo cp $tmp_dir/systemd/* /etc/systemd/system/
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
|
|
||||||
print_green 'Installing Python 3.10.4'
|
print_green "Installing Python ${PYTHON_VER}"
|
||||||
|
|
||||||
sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev
|
sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev
|
||||||
numprocs=$(nproc)
|
numprocs=$(nproc)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SCRIPT_VERSION="138"
|
SCRIPT_VERSION="139"
|
||||||
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/update.sh'
|
SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/update.sh'
|
||||||
LATEST_SETTINGS_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/api/tacticalrmm/tacticalrmm/settings.py'
|
LATEST_SETTINGS_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/api/tacticalrmm/tacticalrmm/settings.py'
|
||||||
YELLOW='\033[1;33m'
|
YELLOW='\033[1;33m'
|
||||||
|
@ -10,7 +10,7 @@ NC='\033[0m'
|
||||||
THIS_SCRIPT=$(readlink -f "$0")
|
THIS_SCRIPT=$(readlink -f "$0")
|
||||||
|
|
||||||
SCRIPTS_DIR='/opt/trmm-community-scripts'
|
SCRIPTS_DIR='/opt/trmm-community-scripts'
|
||||||
PYTHON_VER='3.10.4'
|
PYTHON_VER='3.10.6'
|
||||||
SETTINGS_FILE='/rmm/api/tacticalrmm/tacticalrmm/settings.py'
|
SETTINGS_FILE='/rmm/api/tacticalrmm/tacticalrmm/settings.py'
|
||||||
|
|
||||||
TMP_FILE=$(mktemp -p "" "rmmupdate_XXXXXXXXXX")
|
TMP_FILE=$(mktemp -p "" "rmmupdate_XXXXXXXXXX")
|
||||||
|
|
Loading…
Reference in New Issue