File tree 1 file changed +6
-3
lines changed
docker/actinia-core-alpine
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ ENV GISBASE ""
15
15
# GRASS GIS SETUP
16
16
COPY --from=grass /usr/local/bin/grass /usr/local/bin/grass
17
17
COPY --from=grass /usr/local/grass* /usr/local/grass/
18
- RUN pip install --upgrade pip six grass-session --ignore-installed six
19
18
RUN ln -s /usr/local/grass `grass --config path`
20
19
RUN grass --tmp-location EPSG:4326 --exec g.version -rge && \
21
20
pdal --version && \
@@ -30,16 +29,20 @@ FROM build-base as build
30
29
31
30
COPY . /src/actinia_core
32
31
WORKDIR /src/actinia_core
33
- RUN pip install build && python -m build --outdir /build .
32
+ RUN apk add py3- build && python -m build --outdir /build .
34
33
RUN if [[ -f /build/UNKNOWN* ]];then echo "ERROR - Check actinia-core build" ;exit 1;fi
35
34
36
35
37
36
FROM requirements as actinia
38
37
38
+ ENV PATH="/opt/venv/bin:$PATH"
39
+ RUN /usr/bin/python -m venv --system-site-packages --without-pip /opt/venv
40
+ RUN python -m ensurepip && pip3 install --upgrade pip pep517 wheel
41
+
39
42
# actinia-core and requirements installation
40
43
WORKDIR /build
41
44
COPY --from=build /build/*.whl /build/
42
- RUN pip install /build/*
45
+ RUN pip3 install /build/*
43
46
44
47
# Copy actinia config file and start script
45
48
COPY docker/actinia-core-alpine/actinia.cfg /etc/default/actinia
You can’t perform that action at this time.
0 commit comments