-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
51 lines (26 loc) · 999 Bytes
/
Dockerfile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM foundeo/minibox:latest AS build
RUN box install fixinator
RUN box install cfml-compiler
RUN box install commandbox-codechecker
RUN box install commandbox-cflint
RUN box install commandbox-cfformat
RUN box install commandbox-dotenv
RUN box install commandbox-cfconfig
RUN box install commandbox-docbox
RUN box install commandbox-semantic-release
#output some version info so we have it in the build logs
RUN echo "VERSION INFORMATION"
RUN box version
RUN box package list --system
RUN java -version
#run cfformat so it can download cftokens binary
RUN echo "component {}" > /tmp/test.cfc
RUN box cfformat run /tmp/test.cfc
FROM foundeo/minibox:latest
# ESAPI extension for testbox run
ENV LUCEE_EXTENSIONS="$LUCEE_EXTENSIONS,37C61C0A-5D7E-4256-8572639BE0CF5838;name=ESAPI extension;version=2.1.0.18"
COPY --from=build /root/.CommandBox/cfml/modules /root/.CommandBox/cfml/modules
COPY ./version.txt /etc/cfml-ci-tools-version
RUN mkdir -p /app
RUN cd /app
WORKDIR /app