Răsfoiți Sursa

把dockerfile移动到`docker`目录,以便github workflow生效 (#5)

LoGin 1 an în urmă
părinte
comite
e1b0849005
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      docker/Dockerfile

+ 5 - 0
Dockerfile → docker/Dockerfile

@@ -7,6 +7,11 @@
 
 FROM ubuntu:22.04 as build
 
+# For CI/CD purposes, we can pass a pre-run command to the build image
+ARG PRE_RUN_CMD=""
+
+RUN $PRE_RUN_CMD
+
 RUN apt-get update -y && \
     DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
       g++ \