From f3dba00221e53fc3046de2b2453c155a1bcf2bfc Mon Sep 17 00:00:00 2001 From: darkwizard242 Date: Tue, 12 Oct 2021 10:59:18 -0400 Subject: [PATCH 1/2] ubuntu 16.04 | fix for unicode issue --- ubuntu-16.04/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ubuntu-16.04/Dockerfile b/ubuntu-16.04/Dockerfile index 84beabd..b24404a 100644 --- a/ubuntu-16.04/Dockerfile +++ b/ubuntu-16.04/Dockerfile @@ -1,6 +1,10 @@ FROM ubuntu:xenial 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 67cb0b7f5084f0465daad8cd15550f08feefe0d6 Mon Sep 17 00:00:00 2001 From: darkwizard242 Date: Tue, 12 Oct 2021 11:05:35 -0400 Subject: [PATCH 2/2] debian stretch | fix for unicode issue --- debian-stretch/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian-stretch/Dockerfile b/debian-stretch/Dockerfile index ba6c1f4..56cc82a 100644 --- a/debian-stretch/Dockerfile +++ b/debian-stretch/Dockerfile @@ -1,6 +1,10 @@ FROM debian:stretch 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" ENV PIP_PKGS "ansible"