From 837a09bba173c0154160246e22ea2a873fabfc46 Mon Sep 17 00:00:00 2001 From: darkwizard242 Date: Sun, 10 Oct 2021 16:51:29 -0400 Subject: [PATCH 1/2] ubuntu 18.04 | fix for unicode issue --- ubuntu-18.04/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ubuntu-18.04/Dockerfile b/ubuntu-18.04/Dockerfile index 11b2cb3..40496ca 100644 --- a/ubuntu-18.04/Dockerfile +++ b/ubuntu-18.04/Dockerfile @@ -1,6 +1,10 @@ FROM ubuntu:bionic as base MAINTAINER darkwizard242 +## Due to error: (UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 117: ordinal not in range(128)) +ENV LANG C.UTF-8 +ENV LC_ALL C.UTF-8 + ENV DEPENDENCIES "software-properties-common python3 python3-pip python3-setuptools python3-software-properties sudo apt-transport-https iputils-ping wget curl gnupg gcc python3-dev xz-utils" ENV PIP_PKGS "ansible" From b1f64f793d0fd7afb15c4954c2bbc1c0d26f8d05 Mon Sep 17 00:00:00 2001 From: darkwizard242 Date: Sun, 10 Oct 2021 17:07:20 -0400 Subject: [PATCH 2/2] centos 7 | fix for unicode issue --- centos-7/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/centos-7/Dockerfile b/centos-7/Dockerfile index c959ca8..5b69182 100644 --- a/centos-7/Dockerfile +++ b/centos-7/Dockerfile @@ -1,6 +1,10 @@ FROM centos:7 as base MAINTAINER darkwizard242 +## Due to error: (UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 117: ordinal not in range(128)) +ENV LANG en_US.UTF-8 +ENV LC_ALL en_US.UTF-8 + ENV DEPENDENCIES "which software-properties-common python3 python3-pip python3-setuptools sudo wget curl" ENV PIP_PKGS "ansible"