-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (25 loc) · 1.02 KB
/
Dockerfile
File metadata and controls
34 lines (25 loc) · 1.02 KB
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
34
ARG ECR_REGISTRY=ecr_registry_not_set
# This image has been built from an image that matches the Lambda Ruby runtime
# MySql binary dependencies have been embedded into the image
FROM ${ECR_REGISTRY}/mysql-ruby-lambda
ENV RACK_CONFIG=app/config_mrt.ru
ENV TZ=America/Los_Angeles
# ui logic that is working
# RUN mkdir /usr/local/share/ca-certificates/extra
# COPY docker/ldap-ca.crt /usr/local/share/ca-certificates/extra/ldap-ca.crt
# RUN /usr/sbin/update-ca-certificates
# copy default ca cert for opendj
COPY docker/ldap-ca.crt /etc/pki/ca-trust/source/anchors/ldap-ca.crt
# copy uc3 self-signed ca cert for use with EC2 ldap
COPY UC3-Self-Signed-CA.crt /etc/pki/ca-trust/source/anchors/UC3-Self-Signed-CA.crt
RUN /usr/bin/update-ca-trust extract
RUN dnf -y update && \
dnf -y install gcc-c++ make tar patch libyaml-devel && \
dnf clean all
# Add Admin Tool Code to the image
COPY Gemfile* /var/task/
# Bundle dependencies
RUN bundle install
COPY . /var/task
COPY .bundle/config /var/task/.bundle/config
RUN bundle install