-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathDockerfile.entitlements-app
More file actions
31 lines (27 loc) · 965 Bytes
/
Dockerfile.entitlements-app
File metadata and controls
31 lines (27 loc) · 965 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
FROM ruby:3.3.1-slim
LABEL maintainer="GitHub Security Ops <opensource+entitlements-app@github.com>"
ENV HOME /root
ENV RELEASE=buster
ENV container docker
WORKDIR /data/entitlements-app
# Install dependency packages for bootstrapping and running...
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
cmake \
gcc \
git \
ldap-utils \
make \
iputils-ping \
pkg-config
# Install bundler
RUN gem install bundler -v 2.5.9
# Bootstrap files and caching for speed
COPY "vendor/cache/" "/data/entitlements-app/vendor/cache/"
COPY "script/" "/data/entitlements-app/script/"
COPY [".rubocop.yml", ".ruby-version", "entitlements-app.gemspec", "Gemfile", "Gemfile.lock", "/data/entitlements-app/"]
COPY "lib/version.rb" "/data/entitlements/lib/version.rb"
# Source Files
COPY "bin/" "/data/entitlements-app/bin/"
COPY "lib/" "/data/entitlements-app/lib/"
COPY "spec/" "/data/entitlements-app/spec/"