-
Notifications
You must be signed in to change notification settings - Fork 63
/
Dockerfile
34 lines (29 loc) · 724 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
FROM ruby:3.0.4-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN set -ex \
&& apk add --no-cache --virtual .builddeps \
autoconf \
coreutils \
gcc \
git \
libc-dev \
make \
libxml2-dev \
&& bundle install --without="development test" --jobs=3 --retry=3 --no-cache \
&& git config --global user.name 'Snail Mail' \
&& git config --global user.email '<>' \
&& git init . \
&& git add . \
&& git commit -m 'fake commit' \
&& bundle exec rake install \
&& rm -rf /usr/local/bundle/cache \
/root/.bundle \
/root/.gem \
.git \
&& apk del --no-cache .builddeps
ENTRYPOINT ["hiptest-publisher"]
# RUN chmod 777 .
WORKDIR /app
VOLUME /app