|
@@ -1,5 +1,7 @@
|
|
|
FROM python:3.10-slim
|
|
|
|
|
|
+COPY . /workdir
|
|
|
+
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
pkg-config gcc libseccomp-dev wget \
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
@@ -9,7 +11,7 @@ RUN wget https://go.dev/dl/go1.20.6.linux-arm64.tar.gz -O /opt/go1.20.6.linux-ar
|
|
|
&& rm /opt/go1.20.6.linux-arm64.tar.gz \
|
|
|
&& ln -s /opt/go/bin/go /usr/local/bin/go
|
|
|
|
|
|
-RUN pwd && ls / && find /home && find /tmp && go mod tidy \
|
|
|
+RUN ls /workdir && find /home && find /tmp && go mod tidy \
|
|
|
&& bash ./build/build_arm64.sh
|
|
|
|
|
|
RUN pip install httpx requests jinja2
|