forked from DataDog/datadog-agent
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (17 loc) · 864 Bytes
/
Dockerfile
File metadata and controls
23 lines (17 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ARG BASE_IMAGE=deb7_latest
FROM docker.io/stackstate/stackstate-agent-runner-gitlab:${BASE_IMAGE}
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y nano libtool-bin libelf-dev gnupg2 locales
RUN echo 'export PATH=$HOME/bin:$PATH' >> /root/.bashrc
RUN echo 'source /usr/local/rvm/scripts/rvm' >> /root/.bashrc
RUN echo 'source /usr/local/rvm/scripts/rvm' >> /root/.bash_profile
RUN echo 'gem: --no-document' >> /root/.gemrc
RUN bash -c "source /usr/local/rvm/scripts/rvm && gem install deb-s3"
ADD rpmmacros /root/.rpmmacros
# yum-utils #https://pkgs.org/download/yum-utils
#RUN apt-get install -y libkrb5-dev unixodbc-dev rpm python-deltarpm createrepo bison yum-utils
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
SHELL ["/bin/bash", "-c"]