Commit f0830918 authored by Ignacio's avatar Ignacio
Browse files

Merge branch 'dev' into 'master'

Añade locale en español

See merge request redmic-project/gis/geoserver!49
parents 6f6bd7bd f4da48ef
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -99,7 +99,8 @@ RUN mkdir -p "${TEMP_PATH}" "${GEOSERVER_DATA_DIR}" "${GEOSERVER_LOG_DIR}" "${CA
		libnetcdf13 \
		libnetcdf-c++4 \
		netcdf-bin \
		dnsutils && \
		dnsutils \
		locales && \
	#
	# Install Google Noto fonts
	#
@@ -204,11 +205,18 @@ RUN mkdir -p "${TEMP_PATH}" "${GEOSERVER_DATA_DIR}" "${GEOSERVER_LOG_DIR}" "${CA
	#
	mv /libs/*.jar ${JAVA_HOME}/lib/security/ && \
	#
	# Install locale
	sed -i -e 's/# es_ES.UTF-8 UTF-8/es_ES.UTF-8 UTF-8/' /etc/locale.gen && \
    locale-gen && \
	#
	#
	# Clean
	#
	rm -rf ${TEMP_PATH} && \
	rm -rf /var/lib/apt/lists/*

ENV LANG="es_ES.utf8"

EXPOSE ${GEOSERVER_PORT}

COPY --from=build_apr /usr/local/apr/lib /usr/local/apr/lib