-
Notifications
You must be signed in to change notification settings - Fork 90
/
Dockerfile.testing
33 lines (26 loc) · 980 Bytes
/
Dockerfile.testing
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
FROM silex/emacs:27-ci-cask
WORKDIR /usr/src
# Install dependencies
RUN apt-get update \
&& apt-get install -y libicu63 \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -v 2.1.816
ENV PATH /root/.dotnet:$PATH
RUN dotnet --version
# Install omnisharp and it's dependency packages via Cask
COPY Cask Cask
COPY omnisharp*.el ./
RUN cask install || true
# run cask build to check if the thing compiles to byte code
RUN ! (cask build 2>&1 | tee /dev/stderr | grep -iq "^.*\\.el:.*:Error:")
# Copy other files
# COPY doc doc
# COPY features-tbd-on-the-server-side features-tbd-on-the-server-side
# COPY ignored-from-melpa-build ignored-from-melpa-build
# COPY melpa-testing.recipe melpa-testing.recipe
COPY test/MinimalProject test/MinimalProject
COPY test/*.el test/
COPY test/buttercup-tests test/buttercup-tests
COPY ignored-from-melpa-build/*.el ignored-from-melpa-build/
COPY test-stuff test-stuff
COPY .git .git