File tree Expand file tree Collapse file tree 3 files changed +23
-7
lines changed Expand file tree Collapse file tree 3 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 21
21
FROM hdlc/build:build AS build
22
22
23
23
RUN apt-get update -qq \
24
- && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends python3-setuptools python3-pip
24
+ && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends wget
25
25
26
- RUN mkdir /tmp/apicula \
27
- && cd /tmp/apicula \
28
- && pip3 install apycula --target /tmp/apicula
26
+ RUN mkdir /opt/apicula \
27
+ && wget https://files.pythonhosted.org/packages/1a/d6/b3162f87ff114d639095fe7c0655080ee16caff9037d6629f738d8b28d92/Apycula-0.0.1a6.tar.gz \
28
+ && tar -xvf Apycula-0.0.1a6.tar.gz --strip-components=1 -C /opt/apicula \
29
+ && ls -lah /opt/apicula
29
30
30
31
# ---
31
32
32
33
FROM scratch AS pkg
33
- COPY --from=build /tmp /apicula /apicula
34
+ COPY --from=build /opt /apicula /apicula
34
35
35
36
# ---
36
37
37
38
FROM hdlc/build:base
38
39
RUN apt-get update -qq \
39
- && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends python3-setuptools python3-pip \
40
- && pip3 install apycula
40
+ && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends python3 python3-setuptools
41
+
42
+ COPY --from=build /opt/apicula /opt/apicula
43
+ RUN cd /opt/apicula && python3 setup.py install
44
+
Original file line number Diff line number Diff line change 194
194
- ' formal:min'
195
195
- ' formal'
196
196
- ' formal:all'
197
+
198
+ # ---
199
+
200
+ apicula :
201
+ url : ' https://hdl.github.io/awesome/items/apicula'
202
+ pkg :
203
+ - ' apicula'
204
+ use :
205
+ - ' apicula'
206
+ in :
207
+ - ' impl'
Original file line number Diff line number Diff line change 2
2
3
3
# Authors:
4
4
# Unai Martinez-Corral
5
+ # Lucas Teske
5
6
#
6
7
# Copyright 2020-2021 Unai Martinez-Corral <[email protected] >
7
8
#
You can’t perform that action at this time.
0 commit comments