ahenk-go/Dockerfile

27 lines
796 B
Docker
Raw Permalink Normal View History

2023-08-09 16:17:26 +03:00
# docker build -t IMAGE_NAME:VERSION .
# after cd ahenk-go
# docker run -it -d --name CONT_NAME --mount type=bind,source=".",target=/ahenk-go/ IMAGE_NAME:VERSION "/bin/bash"
2023-08-09 16:17:26 +03:00
FROM bitnami/minideb
2023-08-09 13:57:13 +03:00
RUN apt-get update
RUN apt-get upgrade -y
### INSTALL USEFUL UTILITIES ###
2023-08-24 19:10:48 +03:00
RUN apt-get install git curl wget tree nano procps lintian -y
2023-08-09 13:57:13 +03:00
### INSTALL BUILD DEPENDENCIES ###
RUN apt-get install sudo dpkg-dev debhelper golang-any -y
2023-08-21 16:45:11 +03:00
2023-08-09 13:57:13 +03:00
### CONFIGURATIONS ###
2023-08-09 16:17:26 +03:00
# Enable UTF8 Encoding
2023-08-09 13:57:13 +03:00
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
2023-08-09 16:17:26 +03:00
RUN echo "tr_TR.UTF-8 UTF-8" >> /etc/locale.gen
2023-08-09 13:57:13 +03:00
RUN echo "LANG=en_US.UTF-8" > /etc/locale.conf
2023-08-09 16:17:26 +03:00
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN apt install locales -y
2023-08-09 13:57:13 +03:00
RUN locale-gen en_US.UTF-8