File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Stage 1: Build Go binary
2- FROM golang:1.22 AS builder
2+ FROM golang:1.25.3 AS builder
33WORKDIR /app
44COPY config/atlas_go /app
55# If you have go.mod in config/atlas_go, this is enough; otherwise add module init
@@ -9,11 +9,12 @@ RUN go build -o atlas .
99# Stage 2: Runtime
1010FROM python:3.11-slim
1111
12- RUN apt update && apt install -y \
13- nginx iputils-ping traceroute nmap sqlite3 net-tools curl jq ca-certificates nbtscan \
14- && pip install --no-cache-dir fastapi uvicorn \
15- && apt install -y docker.io \
16- && apt clean && rm -rf /var/lib/apt/lists/*
12+ RUN apt-get update && \
13+ apt-get install -y \
14+ nginx iputils-ping traceroute nmap sqlite3 net-tools curl jq ca-certificates nbtscan docker.io && \
15+ apt-get upgrade -y && \
16+ pip install --no-cache-dir fastapi==0.121.0 uvicorn==0.38.0 protobuf==4.25.8 && \
17+ apt-get clean && rm -rf /var/lib/apt/lists/*
1718
1819# Remove default Nginx config
1920RUN rm -f /etc/nginx/conf.d/default.conf /etc/nginx/sites-enabled/default || true
Original file line number Diff line number Diff line change 11module atlas
22
3- go 1.19
3+ go 1.25
44
55require github.com/mattn/go-sqlite3 v1.14.17
Original file line number Diff line number Diff line change 1- { "version" : " dev-local " , "commit" : " uncommitted " , "builtAt" : " not-built " }
1+ { "version" : " 3.3.1 " , "commit" : " 55a7f81 " , "builtAt" : " 2025-11-05T21:00:20Z " }
You can’t perform that action at this time.
0 commit comments