mirror of https://github.com/sobolevn/git-secret
Fixes #108
parent
c2abe0e5eb
commit
b3d32f0ee8
@ -1,23 +0,0 @@
|
||||
FROM debian:latest
|
||||
|
||||
MAINTAINER Nikita Sobolev (mail@sobolevn.me)
|
||||
|
||||
# Dependencies and project initialization:
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y man make git apt-transport-https && \
|
||||
apt-get install -y ruby ruby-dev ruby-build && \
|
||||
apt-get autoremove && apt-get autoclean && \
|
||||
mkdir /code
|
||||
|
||||
# This will increase the container size, but speed up the build,
|
||||
# since this part will change, while the dependencies won't:
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
# Removing `origin` for good:
|
||||
|
||||
RUN git clone -q https://github.com/sobolevn/git-secret.git && \
|
||||
cd git-secret && git remote rm origin
|
||||
|
||||
WORKDIR /code/git-secret
|
@ -1,23 +0,0 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
MAINTAINER Nikita Sobolev (mail@sobolevn.me)
|
||||
|
||||
# Dependencies and project initialization:
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y man make git apt-transport-https && \
|
||||
apt-get install -y ruby ruby-dev ruby-build && \
|
||||
apt-get autoremove && apt-get autoclean && \
|
||||
mkdir /code
|
||||
|
||||
# This will increase the container size, but speed up the build,
|
||||
# since this part will change, while the dependencies won't:
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
# Removing `origin` for good:
|
||||
|
||||
RUN git clone -q https://github.com/sobolevn/git-secret.git && \
|
||||
cd git-secret && git remote rm origin
|
||||
|
||||
WORKDIR /code/git-secret
|
@ -1,22 +0,0 @@
|
||||
FROM debian:latest
|
||||
|
||||
MAINTAINER Nikita Sobolev (mail@sobolevn.me)
|
||||
|
||||
# Dependencies and project initialization:
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y man make git apt-transport-https && \
|
||||
apt-get autoremove && apt-get autoclean
|
||||
|
||||
# This will increase the container size, but speed up the build,
|
||||
# since this part will change, while the dependencies won't:
|
||||
|
||||
RUN mkdir /code
|
||||
WORKDIR /code
|
||||
|
||||
# Removing `origin` for good:
|
||||
|
||||
RUN git clone -q https://github.com/sobolevn/git-secret.git && \
|
||||
cd git-secret && git remote rm origin
|
||||
|
||||
WORKDIR /code/git-secret
|
@ -1,26 +0,0 @@
|
||||
FROM centos:latest
|
||||
|
||||
MAINTAINER Nikita Sobolev (mail@sobolevn.me)
|
||||
|
||||
ENV HOME /root
|
||||
|
||||
RUN yum update -y && \
|
||||
yum install -y epel-release && \
|
||||
yum install -y dnf && \
|
||||
dnf update -y && \
|
||||
rpm -U "http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm" && \
|
||||
dnf install -y gnupg man make gcc git tar > /dev/null && \
|
||||
dnf install -y which pciutils redhat-rpm-config rpm-build zlib-devel && \
|
||||
dnf -y group install 'Development tools' && \
|
||||
dnf install -y ruby ruby-devel rubygems && \
|
||||
dnf -y autoremove && \
|
||||
mkdir /code
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
# Removing `origin` for good:
|
||||
|
||||
RUN git clone -q https://github.com/sobolevn/git-secret.git && \
|
||||
cd git-secret && git remote rm origin
|
||||
|
||||
WORKDIR /code/git-secret
|
@ -1,22 +0,0 @@
|
||||
FROM fedora:latest
|
||||
|
||||
MAINTAINER Nikita Sobolev (mail@sobolevn.me)
|
||||
|
||||
ENV HOME /root
|
||||
|
||||
RUN dnf update -y && \
|
||||
dnf install -y gnupg man make gcc git tar > /dev/null && \
|
||||
dnf install -y which pciutils redhat-rpm-config rpm-build zlib-devel && \
|
||||
dnf -y group install 'Development tools' && \
|
||||
dnf install -y ruby ruby-devel rubygems && \
|
||||
dnf -y autoremove && \
|
||||
mkdir /code
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
# Removing `origin` for good:
|
||||
|
||||
RUN git clone -q https://github.com/sobolevn/git-secret.git && \
|
||||
cd git-secret && git remote rm origin
|
||||
|
||||
WORKDIR /code/git-secret
|
Loading…
Reference in New Issue