-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (18 loc) · 709 Bytes
/
Dockerfile
File metadata and controls
26 lines (18 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Not a complete docker file
# just sets up dependancies and such and does the compile
# needs to actually run the thing and manage configs and such
# Anyways....
FROM debian:stable AS build
ARG DEBIAN_FRONTEND=noninteractive
RUN mkdir -p /usr/share/man/man1
RUN apt-get update
RUN apt-get install -y gnupg git default-jdk-headless curl
RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt testing jdk1.8" > /etc/apt/sources.list.d/bazel.list
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
RUN apt-get update
RUN apt-get install -y bazel
COPY .git /jelectrum/.git
WORKDIR /jelectrum
RUN git checkout .
RUN bazel --version
RUN bazel build :all :Jelectrum_deploy.jar