-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
54 lines (41 loc) · 1.51 KB
/
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
52
53
54
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:bionic
ARG BUILD_DATE
ARG VERSION
ARG BISQ_RELEASE
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="aptalca"
ENV \
CUSTOM_PORT="8080" \
GUIAUTOSTART="true" \
HOME="/config"
RUN echo "**** install git-lfs ****" && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl jq ca-certificates && \
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends git-lfs && \
git lfs install && \
DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove ${build_deps} && \
rm -r /var/lib/apt/lists/* && \
echo "**** install BISQ ****" && \
mkdir -p \
/opt/BISQ && \
#if [ -z ${BISQ_RELEASE+x} ]; then \
# BISQ_RELEASE=$(curl -sX GET "https://github.com/bisq-network/bisq/releases/latest" \
# | jq -r .tag_name); \
#fi && \
#BISQ_VERSION="$(echo ${BISQ_RELEASE} | cut -c2-)" && \
cd /opt/BISQ && \
git clone --depth 1 --branch v1.6.4 https://github.com/bisq-network/bisq && \
#git clone --depth 1 --branch ${BISQ_VERSION} https://github.com/bisq-network/bisq && \
cd bisq && \
./scripts/install_java.sh && \
git lfs pull && \
./gradlew build && \
dbus-uuidgen > /etc/machine-id && \
echo "**** cleanup ****" && \
apt-get clean && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
COPY root/ /