Skip to content

Commit

Permalink
Docker setup: add vim to Docker images
Browse files Browse the repository at this point in the history
For ease of troubleshooting
  • Loading branch information
stsnel committed Jan 31, 2025
1 parent d60a7ae commit aa24812
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions docker/images/ckan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN apt-get -q -y update \
pwgen \
uuid-runtime \
sudo \
vim \
&& apt-get -q clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down
1 change: 1 addition & 0 deletions docker/images/msl-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN apt-get -q -y update \
wget \
nmap \
sudo \
vim \
software-properties-common \
&& apt-add-repository ppa:ondrej/php \
&& apt-get -q -y install \
Expand Down
2 changes: 1 addition & 1 deletion docker/images/mta/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Setting the locale
ENV LC_ALL=en_US.UTF-8
RUN apt-get update
RUN apt-get install --no-install-recommends -y locales
RUN apt-get install --no-install-recommends -y locales vim
RUN sed -i "/$LC_ALL/s/^# //g" /etc/locale.gen
RUN dpkg-reconfigure --frontend=noninteractive locales
RUN update-locale LANG=${LC_ALL}
Expand Down
5 changes: 5 additions & 0 deletions docker/images/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
FROM nginx:1.27
MAINTAINER Yoda team

RUN apt update && \
apt install -y git vim \
&& apt-get -q clean \
&& rm -rf /var/lib/apt/lists/*

ADD nginx.site.part1 /etc/nginx/nginx.site.part1
ADD nginx.site.part2 /etc/nginx/nginx.site.part2
ADD nginx.site.part-mailpit /etc/nginx/nginx.site.part-mailpit
Expand Down
8 changes: 6 additions & 2 deletions docker/images/solr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ ENV SOLR_CONFIG_DIR="/opt/solr/server/solr/configsets"
USER root
RUN cp -R $SOLR_CONFIG_DIR/_default $SOLR_CONFIG_DIR/ckan

# Install basic components
RUN apt update && \
apt install -y git vim && \
apt-get -q clean && \
rm -rf /var/lib/apt/lists/*

# Download the EPOS-MSL core plugin (for the schema)
RUN cd /usr/lib && \
apt update && \
apt install -y git && \
git clone https://github.com/UtrechtUniversity/msl_ckan_core.git

# Change the CKAN configset to use the EPOS-MSL schema, and enable Query Elevation
Expand Down

0 comments on commit aa24812

Please sign in to comment.