<commit_before># Copyright (c) 2015 The Pycroft Authors. See the AUTHORS file.
# This file is part of the Pycroft project and licensed under the terms of
# the Apache License, Version 2.0. See the LICENSE file for details.
FROM debian:wheezy
MAINTAINER <NAME> <<EMAIL>>
ENV PROJECT_DIR=/pycroft LANG=en_US.utf8 DEBIAN_FRONTEND=noninteractive

COPY etc/apt/sources.list /etc/apt/sources.list

# Setup locale
RUN apt-get update && \
    apt-get install -y locales && \
    sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen && \
    locale-gen && \
    dpkg-reconfigure locales

# Install Debian packages
RUN apt-get update && \
    apt-get -y install \
        bash \
        curl \
        git \
        libpq-dev \
        libsqlite3-dev \
        nodejs \
        openssh-server \
        postgresql \
        postgresql-client \
        python-dev \
        python-pip \
        sqlite3 \
        sudo \
        supervisor \
        sysv-rc \
        sysvinit-utils \
        vim && \
    ln -s /usr/bin/nodejs /usr/bin/node

# Install NPM
RUN curl -s -L https://npmjs.org/install.sh | sh<commit_msg>Fix docker locales<commit_after># Copyright (c) 2015 The Pycroft Authors. See the AUTHORS file.
# This file is part of the Pycroft project and licensed under the terms of
# the Apache License, Version 2.0. See the LICENSE file for details.
FROM debian:wheezy
MAINTAINER <NAME> <<EMAIL>>
ENV PROJECT_DIR=/pycroft DEBIAN_FRONTEND=noninteractive

COPY etc/apt/sources.list /etc/apt/sources.list

# Setup locale
RUN apt-get update && \
    apt-get install -y locales && \
    sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen && \
    locale-gen && \
    dpkg-reconfigure locales && \
    update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8

# Install Debian packages
RUN apt-get update && \
    apt-get -y install \
        bash \
        curl \
        git \
        libpq-dev \
        libsqlite3-dev \
        nodejs \
        openssh-server \
        postgresql \
        postgresql-client \
        python-dev \
        python-pip \
        sqlite3 \
        sudo \
        supervisor \
        sysv-rc \
        sysvinit-utils \
        vim && \
    ln -s /usr/bin/nodejs /usr/bin/node

# Install NPM
RUN curl -s -L https://npmjs.org/install.sh | sh
{'fraction_non_alphanumeric': 0.10761154855643044, 'fraction_numerical': 0.011811023622047244, 'mean_word_length': 1.9245524296675192, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3665682', 'n_tokens_mistral': 815, 'n_tokens_neox': 766, 'n_words': 213}