mirror of https://github.com/sobolevn/git-secret
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
562 B
Docker
23 lines
562 B
Docker
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
|