-
Notifications
You must be signed in to change notification settings - Fork 3
/
mysql-wallet-storage-buildtools.dockerfile
65 lines (62 loc) · 3.11 KB
/
mysql-wallet-storage-buildtools.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
55
56
57
58
59
60
61
62
63
64
65
FROM ubuntu:18.04
ARG RUST_VERSION
ENV RUST_VERSION=${RUST_VERSION:-1.26.0}
RUN apt-get update \
&& apt-get install -y \
apt-transport-https \
gcc \
make \
curl \
gnupg2 \
git \
mysql-client-core-5.7 \
ruby \
ruby-dev \
rubygems \
libssl-dev \
pkg-config \
build-essential \
&& gem install --no-document fpm \
&& curl https://sh.rustup.rs -sSf \
| sh -s -- -y --no-modify-path --default-toolchain $RUST_VERSION \
&& mkdir -p /usr/local/share/ca-certificates \
&& echo "-----BEGIN CERTIFICATE-----\\n\
MIIFJTCCAw2gAwIBAgIUMI0Z8YSLeRq8pZks40O3Dq2m8TIwDQYJKoZIhvcNAQEL\\n\
BQAwGjEYMBYGA1UEAxMPRXZlcm55bSBSb290IENBMB4XDTE3MTAxMTIwMTAxMFoX\\n\
DTQ3MTAwNDIwMTAzOVowGjEYMBYGA1UEAxMPRXZlcm55bSBSb290IENBMIICIjAN\\n\
BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA1kjmtmMfLJfsqUNaco44N3brW8Vu\\n\
b02lAeEwbxc65mwfAG8kAjW7kYhI/fDXFOYXUvoa3Dg7bFeEatdIjHOahZssGM27\\n\
HsQZ4PfRhPE6HtXFszmDwXWuEekVxoyueTqL7ExnNZ+BRTXvPfm5nw1E7L3o3xHF\\n\
GSOtWFCyHfKd1LwMKzAVSjxlawEZnfk3WK3NxrC4UYMlQaDme7m3rCMfO+KBQk69\\n\
bFXsgn6/EihVeQ8T1+T8gogofzh5b4Z7kS6e6GMqotbGFg4agejkRVsIglSpaQ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TdaYFWFqk/8nKgZiBR1l8jnWTlWnm86A\\n\
qVssH3DLKwiYrWSOHRzGuN5BmPXxxtKQJlwAXt0wJE3puUkaJSRo7CJQ3QNMoKDe\\n\
OjzXc9WvkFIXr3Eui8UTiHB/WT7N4o8hmVN404akGfWE0YNwRVfWpjGdew6g0tZi\\n\
lFnjUUk49av67um43JHcinT5NFPuleZzkjaL/D8ueOrjXQDy05rwVdgmw9pXog4B\\n\
Tw6APXtEnjfD2H8HOpOX/7ef4gWK0O1Q7A==\\n\
-----END CERTIFICATE-----" > /usr/local/share/ca-certificates/Evernym_Root_CA.crt \
&& update-ca-certificates \
&& curl https://repo.corp.evernym.com/repo.corp.evenym.com-sig.key \
| apt-key add - \
&& echo "deb https://repo.corp.evernym.com/deb evernym-agency-dev-ubuntu main" > /etc/apt/sources.list.d/agency-dev_repo.corp.evernym.com.list \
&& echo "deb https://repo.corp.evernym.com/deb evernym-ubuntu main" > /etc/apt/sources.list.d/repo.corp.evernym.com.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
libindy=1.15.0-bionic \
&& rm -rf /var/lib/apt/lists/*
ENV PATH /root/.cargo/bin:$PATH