Write generic dockerfile

    0

    0

    docker

    Write a generic dockerfile

    FROM debian:stable-slim
    MAINTAINER Firstname Lastname <me@domain.tld>
    RUN mkdir -p /usr/share/man/man1
    RUN apt-get update
    RUN apt-get -y upgrade
    RUN apt-get install -y patch python3 python3-dev python3-pip git subversion wget lsof locales
    # Update/generate locale
    RUN echo "en_US ISO-8859-1" > /etc/locale.gen
    RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
    RUN locale-gen
    # Update/generate locale
    RUN apt-get clean
    RUN apt-get update
    RUN apt-get -y autoremove
    CMD ["mycommand", "argument1", "argument2"]
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.