<commit_before>FROM camunda-ci1:5000/camunda-ci-base-ubuntu:latest

ENV PACKER_VERSION=0.7.5 \
    OUTPUT_DIR=/packer-output
RUN save-env.sh PACKER_VERSION OUTPUT_DIR

# allow everyone to write to OUTPUT_DIR
RUN mkdir $OUTPUT_DIR && \
    chmod 777 $OUTPUT_DIR

# mark OUTPUT_DIR as volume so the content is discarded
VOLUME $OUTPUT_DIR

# add helper script
ADD bin/* /usr/local/bin/

# install qemu
RUN install-packages.sh make qemu-system-x86 qemu-utils bridge-utils && \
    chmod u+s /usr/lib/qemu-bridge-helper && \
    usermod -aG kvm camunda

# add packer binaries
RUN curl -L https://bintray.com/artifact/download/mitchellh/packer/packer_${PACKER_VERSION}_linux_amd64.zip > /tmp/packer.zip && \
    unzip /tmp/packer.zip -d /usr/local/bin/ && \
    rm /tmp/packer.zip

CMD ["/usr/local/bin/start-supervisord.sh"]<commit_msg>chore(Dockerfile): install chefdk for berkshelf<commit_after>FROM camunda-ci1:5000/camunda-ci-base-ubuntu:latest

ENV PACKER_VERSION=0.7.5 \
    CHEF_DK_VERSION=0.4.0-1 \
    OUTPUT_DIR=/packer-output
RUN save-env.sh PACKER_VERSION CHEF_DK_VERSION OUTPUT_DIR

# allow everyone to write to OUTPUT_DIR
RUN mkdir $OUTPUT_DIR && \
    chmod 777 $OUTPUT_DIR

# mark OUTPUT_DIR as volume so the content is discarded
VOLUME $OUTPUT_DIR

# add helper script
ADD bin/* /usr/local/bin/

# install qemu
RUN install-packages.sh make qemu-system-x86 qemu-utils bridge-utils && \
    chmod u+s /usr/lib/qemu-bridge-helper && \
    usermod -aG kvm camunda

# add packer binaries
RUN curl ftp://camunda-ci1/ci/binaries/packer/packer_${PACKER_VERSION}_linux_amd64.zip > /tmp/packer.zip && \
    unzip /tmp/packer.zip -d /usr/local/bin/ && \
    rm /tmp/packer.zip

# install chef dk
RUN curl ftp://camunda-ci1/ci/binaries/chef/chefdk_${CHEF_DK_VERSION}_amd64.deb > /tmp/chefdk.deb && \
    dpkg --install /tmp/chefdk.deb && \
    rm /tmp/chefdk.deb

CMD ["/usr/local/bin/start-supervisord.sh"]
{'fraction_non_alphanumeric': 0.12421383647798742, 'fraction_numerical': 0.019916142557651992, 'mean_word_length': 3.534441805225653, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2694273', 'n_tokens_mistral': 770, 'n_tokens_neox': 730, 'n_words': 154}