-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (26 loc) · 937 Bytes
/
Dockerfile
File metadata and controls
33 lines (26 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM ruby:3.2
RUN apt-get update -qq && \
apt-get upgrade -qqy && \
apt-get install -qqy \
apt-transport-https \
ca-certificates \
curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install Docker client tools
ENV DOCKERVERSION=24.0.2
RUN curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz \
&& tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 \
-C /usr/local/bin docker/docker \
&& rm docker-${DOCKERVERSION}.tgz
WORKDIR /debify
COPY . ./
RUN gem install --no-document bundler:2.4.14 && \
gem build debify.gemspec && \
gem install --no-document -N conjur-debify-*.gem
ARG VERSION
ARG CONJUR_APPLIANCE_URL
ENV CONJUR_APPLIANCE_URL=${CONJUR_APPLIANCE_URL:-https://conjurops.itp.conjur.net} \
CONJUR_ACCOUNT=${CONJUR_ACCOUNT:-conjur} \
CONJUR_VERSION=${CONJUR_VERSION:-5}
ENTRYPOINT ["/debify/distrib/entrypoint.sh"]