瀏覽代碼

Drop redundant package installs

Package installs now handled in docker image instead.
Antony Messerli 4 年之前
父節點
當前提交
8cd90a3e74
共有 2 個文件被更改,包括 0 次插入26 次删除
  1. 0 13
      Dockerfile-build
  2. 0 13
      Dockerfile-build.production

+ 0 - 13
Dockerfile-build

@@ -1,21 +1,8 @@
 FROM ghcr.io/netbootxyz/docker-builder:latest as builder
 
-ENV DEBIAN_FRONTEND=noninteractive
-
-RUN \
- echo "**** install deps ****" && \
- apt-get update && \
- apt-get install -y \
-      git \
-      python3-pip \
-      python3-setuptools \
-      syslinux
-
 # repo for build
 COPY . /ansible
 
-RUN pip3 install ansible==2.10.0
-
 RUN \
  echo "**** running ansible ****" && \
  cd /ansible && \

+ 0 - 13
Dockerfile-build.production

@@ -1,21 +1,8 @@
 FROM ghcr.io/netbootxyz/docker-builder:latest as builder
 
-ENV DEBIAN_FRONTEND=noninteractive
-
-RUN \
- echo "**** install deps ****" && \
- apt-get update && \
- apt-get install -y \
-      git \
-      python3-pip \
-      python3-setuptools \
-      syslinux
-
 # repo for build
 COPY . /ansible
 
-RUN pip3 install ansible==2.10.0
-
 RUN \
  echo "**** running ansible ****" && \
  cd /ansible && \