Bring back ruby2 Dockerfile as -ruby2 Dockerfile for acceptance matrix
This commit is contained in:
Родитель
3b43218946
Коммит
a68a540ef1
|
@ -0,0 +1,25 @@
|
|||
FROM ruby:2.7.5-buster
|
||||
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 \
|
||||
ldap-utils
|
||||
|
||||
# Install bundler
|
||||
RUN gem install bundler
|
||||
|
||||
# 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", "VERSION", "/data/entitlements-app/"]
|
||||
|
||||
# Source Files
|
||||
COPY "bin/" "/data/entitlements-app/bin/"
|
||||
COPY "lib/" "/data/entitlements-app/lib/"
|
||||
COPY "spec/" "/data/entitlements-app/spec/"
|
Загрузка…
Ссылка в новой задаче