Преглед изворни кода

Merge pull request #763 from netbootxyz/docker_pkg

Drop redundant package installs
Antony Messerli пре 4 година
родитељ
комит
c5148b3987
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 && \