Skip to content

Commit

Permalink
Merge pull request #24 from darkwizard242/hotfix/ubuntu-bionic-ascii-…
Browse files Browse the repository at this point in the history
…issue

ubuntu 18.04, centos 7 | fix for unicode issue
  • Loading branch information
darkwizard242 authored Oct 10, 2021
2 parents c4c6d97 + b1f64f7 commit 7aefd84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions centos-7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM centos:7 as base
MAINTAINER darkwizard242 <am900820@gmail.com>

## 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"
Expand Down
4 changes: 4 additions & 0 deletions ubuntu-18.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM ubuntu:bionic as base
MAINTAINER darkwizard242 <am900820@gmail.com>

## 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"
Expand Down

0 comments on commit 7aefd84

Please sign in to comment.