Skip to content

Commit 9acf171

Browse files
committed
Upgrade CouchDB Version
1 parent 4b6842f commit 9acf171

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

Dockerfile

+4-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file compiled from Dockerfile.in.
33
#
44

5-
FROM couchdb:1.6.1
5+
FROM couchdb:2.3.0
66

77
#
88
# Environment configurations to get everything to play well
@@ -60,7 +60,7 @@ RUN apt-get -qq clean && \
6060
liblzma-dev \
6161
libmagickcore-dev \
6262
libmagickwand-dev \
63-
libmysqlclient-dev \
63+
# libmysqlclient-dev \
6464
libncurses-dev \
6565
libpng-dev \
6666
libpq-dev \
@@ -90,15 +90,12 @@ RUN apt-get -qq clean && \
9090
ENV PYTHON_VERSION 3.6.6
9191
ENV PYTHON_PIP_VERSION 18.0
9292

93-
# Remove Debian python
94-
RUN apt-get -qq purge -y python.*
95-
96-
# Install pyenv
93+
# Install desired Python version using pyenv
9794
ENV PYENV_ROOT /root/.pyenv
9895
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
9996

10097
RUN set -ex \
101-
&& curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash \
98+
&& curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash \
10299
&& pyenv update \
103100
&& pyenv install $PYTHON_VERSION \
104101
&& pyenv global $PYTHON_VERSION \

_base_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ config:
3939
main:
4040
file: Dockerfile
4141
context: .
42-
base_image: couchdb:1.6.1
42+
base_image: couchdb:2.3.0
4343

4444
readme:
4545
url_github: https://github.com/fogies/docker-base

base/dockerfile/apt_get_essentials.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN apt-get -qq clean && \
4343
liblzma-dev \
4444
libmagickcore-dev \
4545
libmagickwand-dev \
46-
libmysqlclient-dev \
46+
# libmysqlclient-dev \
4747
libncurses-dev \
4848
libpng-dev \
4949
libpq-dev \

base/dockerfile/python.Dockerfile

+2-5
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@
77
ENV PYTHON_VERSION 3.6.6
88
ENV PYTHON_PIP_VERSION 18.0
99

10-
# Remove Debian python
11-
RUN apt-get -qq purge -y python.*
12-
13-
# Install pyenv
10+
# Install desired Python version using pyenv
1411
ENV PYENV_ROOT /root/.pyenv
1512
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
1613

1714
RUN set -ex \
18-
&& curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash \
15+
&& curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash \
1916
&& pyenv update \
2017
&& pyenv install $PYTHON_VERSION \
2118
&& pyenv global $PYTHON_VERSION \

0 commit comments

Comments
 (0)