Giter Site home page Giter Site logo

ansible-image's Introduction

Ansible Image

一个基于 python alpine 镜像制作的 Ansible 镜像.
通常作为实际业务镜像的 Base Image

为什么有这个项目

Ansible 官方镜像已经两年没有更新了. 官方镜像中存在许多的安全漏洞.
另外使用 alpine 可以大大的缩小镜像体积.镜像已预装 ssh 模块.

镜像使用

  • 镜像 pull
docker pull aiyijing/ansible:latest
  • 特殊模块的安装 建议以 aiyijing/ansible:latest 为 Base Image, 然后构建自定义镜像.这样可以使业务镜像大大缩小.
FROM aiyijing/ansible:latest

RUN apk --no-cache add unzip

CMD ["bash","-c","unzip"]

自构建 Ansible 镜像

  • 国内建议使用 Dockerfile.cn (阿里源构建镜像)
docker build -f Dockerfile.cn  . -t aiyijing/ansible:latest
  • 国外建议使用 Dockerfile (alpine 默认源)
docker build . -t aiyijing/ansible:latest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.