mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
a769829ec1
Bumps alpine from 3.14.2 to 3.14.3. --- updated-dependencies: - dependency-name: alpine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
764 B
Docker
36 lines
764 B
Docker
# Initially copied from
|
|
# https://github.com/jordansissel/fpm/blob/master/Dockerfile
|
|
FROM alpine:3.14.3
|
|
|
|
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
|
|
|
|
ENV CODE_DIR='/code'
|
|
ENV SECRETS_PROJECT_ROOT="$CODE_DIR"
|
|
|
|
RUN apk add --no-cache --update \
|
|
# fpm deps:
|
|
ruby \
|
|
ruby-dev \
|
|
ruby-etc \
|
|
gcc \
|
|
libffi-dev \
|
|
make \
|
|
libc-dev \
|
|
rpm \
|
|
tar \
|
|
# Direct dependencies:
|
|
bash \
|
|
gawk \
|
|
git \
|
|
gnupg \
|
|
# Assumed to be present:
|
|
curl \
|
|
# envsubst for `nfpm`:
|
|
gettext \
|
|
# Installing `nfpm`, it builds alpine packages:
|
|
&& curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh \
|
|
# Installing `fpm`, it builds all other packages:
|
|
&& gem install --no-document fpm
|
|
|
|
WORKDIR $CODE_DIR
|