|
@@ -1,6 +1,8 @@
|
|
|
# Multi-stage Dockerfile for ARM64 optimization
|
|
# Multi-stage Dockerfile for ARM64 optimization
|
|
|
# Stage 1: Build dependencies + PyArmor obfuscation
|
|
# Stage 1: Build dependencies + PyArmor obfuscation
|
|
|
-FROM python:3.11-slim-bullseye as builder
|
|
|
|
|
|
|
+ENV CODENAME=`lsb_release -a | grep Codename | awk '{ print $2 }'`
|
|
|
|
|
+
|
|
|
|
|
+FROM python:3.11-slim-"$CODENAME" as builder
|
|
|
|
|
|
|
|
# Install system dependencies for building
|
|
# Install system dependencies for building
|
|
|
RUN apt-get update && apt-get install -y \
|
|
RUN apt-get update && apt-get install -y \
|