Skip to content

Commit 768b31d

Browse files
committed
Merge branch 'release/0.9.0'
2 parents c767424 + 9f6b876 commit 768b31d

File tree

179 files changed

+4186
-2277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+4186
-2277
lines changed

.circleci/Dockerfile

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
FROM circleci/openjdk:8-jdk
2+
3+
ENV MINICONDA_VERSION=4.8.2 \
4+
MINICONDA_MD5=87e77f097f6ebb5127c77662dfc3165e \
5+
CONDA_VERSION=4.8.2 \
6+
CONDA_DIR=/opt/conda \
7+
PYTHON_VERSION=3.7.7
8+
9+
USER root
10+
11+
ENV PATH=$CONDA_DIR/bin:$PATH
12+
13+
# circleci is 3434
14+
COPY --chown=3434:3434 fix-permissions /tmp
15+
16+
RUN \
17+
apt-get update && \
18+
apt-get install -yq --no-install-recommends \
19+
sudo \
20+
wget \
21+
bzip2 \
22+
file \
23+
libtinfo5 \
24+
ca-certificates \
25+
gettext-base \
26+
locales && \
27+
apt-get clean && \
28+
rm -rf /var/lib/apt/lists/*
29+
30+
RUN \
31+
cd /tmp && \
32+
mkdir -p $CONDA_DIR && \
33+
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-py37_${MINICONDA_VERSION}-Linux-x86_64.sh && \
34+
echo "${MINICONDA_MD5} *Miniconda3-py37_${MINICONDA_VERSION}-Linux-x86_64.sh" | md5sum -c - && \
35+
/bin/bash Miniconda3-py37_${MINICONDA_VERSION}-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
36+
rm Miniconda3-py37_${MINICONDA_VERSION}-Linux-x86_64.sh && \
37+
conda config --system --set auto_update_conda false && \
38+
conda config --system --set show_channel_urls true && \
39+
conda config --system --set channel_priority strict && \
40+
if [ ! $PYTHON_VERSION = 'default' ]; then conda install --yes python=$PYTHON_VERSION; fi && \
41+
conda list python | grep '^python ' | tr -s ' ' | cut -d '.' -f 1,2 | sed 's/$/.*/' >> $CONDA_DIR/conda-meta/pinned && \
42+
conda install --quiet --yes conda && \
43+
conda install --quiet --yes pip && \
44+
pip config set global.progress_bar off && \
45+
echo "$CONDA_DIR/lib" > /etc/ld.so.conf.d/conda.conf && \
46+
conda clean --all --force-pkgs-dirs --yes --quiet && \
47+
sh /tmp/fix-permissions $CONDA_DIR 2> /dev/null
48+
49+
COPY requirements-conda.txt /tmp/
50+
51+
RUN \
52+
conda install --channel conda-forge --no-channel-priority --freeze-installed \
53+
--file /tmp/requirements-conda.txt && \
54+
conda clean --all --force-pkgs-dirs --yes --quiet && \
55+
sh /tmp/fix-permissions $CONDA_DIR 2> /dev/null && \
56+
ldconfig 2> /dev/null
57+
58+
# Work-around for pyproj issue https://github.com/pyproj4/pyproj/issues/415
59+
ENV PROJ_LIB=/opt/conda/share/proj
60+
61+
USER 3434
62+
63+
WORKDIR /home/circleci

.circleci/Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
IMAGE_NAME=miniconda-gdal
2+
VERSION=latest
3+
HOST=docker.pkg.github.com
4+
REPO=${HOST}/locationtech/rasterframes
5+
FULL_NAME=${REPO}/${IMAGE_NAME}:${VERSION}
6+
7+
all: build login push
8+
9+
build:
10+
docker build . -t ${FULL_NAME}
11+
12+
login:
13+
docker login ${HOST}
14+
15+
push:
16+
docker push ${FULL_NAME}
17+
18+
shell: build
19+
docker run --rm -it ${FULL_NAME} bash
File renamed without changes.

0 commit comments

Comments
 (0)