root
add data
d9f7ff9
raw
history blame
168 kB
{"size":98,"ext":null,"lang":"Dockerfile","max_stars_count":57.0,"content":"FROM node:lts-alpine as build-stage\nWORKDIR \/app \nCOPY . .\/\nRUN npm install \nRUN npm build:pord\n\n","avg_line_length":14.0,"max_line_length":35,"alphanum_fraction":0.7244897959}
{"size":158,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM node:14.11.0\nENV NODE_ENV=production\nCOPY [\"package.json\", \"package-lock.json*\", \".\/\"]\nRUN npm install --production\nCOPY . .\nCMD [ \"node\", \"server.js\" ]\n","avg_line_length":22.5714285714,"max_line_length":49,"alphanum_fraction":0.6708860759}
{"size":2751,"ext":null,"lang":"Dockerfile","max_stars_count":87.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/orangepi-plus2-fedora:36-run\n\nENV NODE_VERSION 14.18.2\nENV YARN_VERSION 1.22.4\n\nRUN for key in \\\n\t6A010C5166006599AA17F08146C2130DFD2497F5 \\\n\t; do \\\n\t\tgpg --keyserver pgp.mit.edu --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.pgp.com --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.ubuntu.com --recv-keys \"$key\" ; \\\n\tdone \\\n\t&& curl -SLO \"http:\/\/nodejs.org\/dist\/v$NODE_VERSION\/node-v$NODE_VERSION-linux-armv7l.tar.gz\" \\\n\t&& echo \"70211985c0881c36af91d39108c5f61c0ac11de3b43b89b3f7b1a9ac333d1d3e node-v$NODE_VERSION-linux-armv7l.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"node-v$NODE_VERSION-linux-armv7l.tar.gz\" -C \/usr\/local --strip-components=1 \\\n\t&& rm \"node-v$NODE_VERSION-linux-armv7l.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz.asc\" \\\n\t&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& mkdir -p \/opt\/yarn \\\n\t&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C \/opt\/yarn --strip-components=1 \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarn \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarnpkg \\\n\t&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& npm config set unsafe-perm true -g --unsafe-perm \\\n\t&& rm -rf \/tmp\/*\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@node\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo $'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v7 \\nOS: Fedora 36 \\nVariant: run variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nNode.js v14.18.2, Yarn v1.22.4 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo $'#!\/bin\/sh.real\\nbalena-info\\nrm -f \/bin\/sh\\ncp \/bin\/sh.real \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& cp \/bin\/sh \/bin\/sh.real \\\n\t&& mv \/bin\/sh-shim \/bin\/sh","avg_line_length":65.5,"max_line_length":689,"alphanum_fraction":0.715739731}
{"size":441,"ext":null,"lang":"Dockerfile","max_stars_count":2.0,"content":"FROM python:3.8-slim-buster\r\n\r\n# Keeps Python from generating .pyc files in the container\r\nENV PYTHONDONTWRITEBYTECODE=1\r\n\r\n# Turns off buffering for easier container logging\r\nENV PYTHONUNBUFFERED=1\r\n\r\nCOPY requirements.txt .\r\nRUN python -m pip install -r requirements.txt\r\nRUN python -m spacy download en_core_web_sm\r\n\r\nWORKDIR \/app\r\nCOPY . \/app\r\n\r\nEXPOSE 8000\r\nCMD [\"uvicorn\", \"main:app\", \"--reload\", \"--host\", \"0.0.0.0\", \"--port\", \"8000\"]","avg_line_length":25.9411764706,"max_line_length":78,"alphanum_fraction":0.716553288}
{"size":584,"ext":null,"lang":"Dockerfile","max_stars_count":4.0,"content":"FROM axkoenig\/reflex_stack\n\n# init catkin workspace, copy agent directory and build\nENV CATKIN_WS=\/home\/catkin_ws\nCOPY agent ${CATKIN_WS}\/src\/agent\nCOPY trained_agents ${CATKIN_WS}\/src\/trained_agents\nCOPY requirements.txt ${CATKIN_WS}\/src\/\nWORKDIR ${CATKIN_WS}\nRUN \/bin\/bash -c '. \/opt\/ros\/noetic\/setup.bash; catkin_make'\n\n# install pip3 package\nRUN apt install -y python3-pip \n\n# install pip requirements\nRUN pip3 install -r ${CATKIN_WS}\/src\/requirements.txt \n\n# train agent\nCMD [\"\/bin\/bash\", \"-c\", \"source ${CATKIN_WS}\/devel\/setup.bash; python3 ${CATKIN_WS}\/src\/agent\/src\/main.py\" ]","avg_line_length":32.4444444444,"max_line_length":108,"alphanum_fraction":0.7585616438}
{"size":957,"ext":null,"lang":"Dockerfile","max_stars_count":2.0,"content":"FROM docker.elastic.co\/elasticsearch\/elasticsearch:7.1.1\n\n#### You can add NLA plugins listed in https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/plugins\/7.1\/analysis.html ####\nRUN \\\n elasticsearch-plugin install --batch analysis-icu && \\\n elasticsearch-plugin install --batch analysis-kuromoji\n\n#### If you build a cluster with multiple data nodes, you need to specify certificate files. ####\n# RUN mkdir \/usr\/share\/elasticsearch\/config\/certs\n# ADD elastic-certificates.p12 \/usr\/share\/elasticsearch\/config\/certs\/elastic-certificates.p12\n# ADD elastic-stack-ca.p12 \/usr\/share\/elasticsearch\/config\/certs\/elastic-stack-ca.p12\n# RUN chown -R elasticsearch \/usr\/share\/elasticsearch\/config\/certs\n# RUN chgrp -R root \/usr\/share\/elasticsearch\/config\/certs\n# RUN chmod o-rx \/usr\/share\/elasticsearch\/config\/certs\n# RUN chmod 640 \/usr\/share\/elasticsearch\/config\/certs\/elastic-stack-ca.p12\n# RUN chmod 640 \/usr\/share\/elasticsearch\/config\/certs\/elastic-certificates.p12\n","avg_line_length":56.2941176471,"max_line_length":115,"alphanum_fraction":0.7847439916}
{"size":2553,"ext":null,"lang":"Dockerfile","max_stars_count":127.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/photon-xavier-nx-fedora:35-build\n\nENV NODE_VERSION 17.9.1\nENV YARN_VERSION 1.22.4\n\nRUN for key in \\\n\t6A010C5166006599AA17F08146C2130DFD2497F5 \\\n\t; do \\\n\t\tgpg --keyserver pgp.mit.edu --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.pgp.com --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.ubuntu.com --recv-keys \"$key\" ; \\\n\tdone \\\n\t&& curl -SLO \"http:\/\/nodejs.org\/dist\/v$NODE_VERSION\/node-v$NODE_VERSION-linux-arm64.tar.gz\" \\\n\t&& echo \"88c65d4ae06f55dfd651ea647640b2ace9fbd469517ea58de8719d4e95618955 node-v$NODE_VERSION-linux-arm64.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"node-v$NODE_VERSION-linux-arm64.tar.gz\" -C \/usr\/local --strip-components=1 \\\n\t&& rm \"node-v$NODE_VERSION-linux-arm64.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz.asc\" \\\n\t&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& mkdir -p \/opt\/yarn \\\n\t&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C \/opt\/yarn --strip-components=1 \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarn \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarnpkg \\\n\t&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& npm config set unsafe-perm true -g --unsafe-perm \\\n\t&& rm -rf \/tmp\/*\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@node\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo $'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v8 \\nOS: Fedora 35 \\nVariant: build variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nNode.js v17.9.1, Yarn v1.22.4 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info","avg_line_length":69.0,"max_line_length":690,"alphanum_fraction":0.7258127693}
{"size":510,"ext":"dockerfile","lang":"Dockerfile","max_stars_count":null,"content":"FROM hyperledger\/indy-core-baseci:0.0.1\nLABEL maintainer=\"Hyperledger <[email protected]>\"\n\nARG uid=1000\nARG user=indy\nARG venv=venv\n\nRUN echo \"To invalidate cache\"\n\nRUN apt-get update -y && apt-get install -y \\\n python3-nacl \\\n libindy-crypto=0.4.0 \\\n libindy=1.3.1~469 \\\n# rocksdb python wrapper\n libbz2-dev \\\n zlib1g-dev \\\n liblz4-dev \\\n libsnappy-dev \\\n rocksdb=5.8.8\n\nRUN indy_ci_add_user $uid $user $venv\n\nRUN indy_image_clean\n\nUSER $user\nWORKDIR \/home\/$user\n","avg_line_length":18.8888888889,"max_line_length":71,"alphanum_fraction":0.7039215686}
{"size":1623,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# AUTOGENERATED FILE\nFROM balenalib\/beaglebone-green-debian:jessie-build\n\nENV NODE_VERSION 8.15.0\nENV YARN_VERSION 1.12.3\n\nRUN for key in \\\n\t6A010C5166006599AA17F08146C2130DFD2497F5 \\\n\t; do \\\n\t\tgpg --batch --keyserver pgp.mit.edu --recv-keys \"$key\" || \\\n\t\tgpg --batch --keyserver keyserver.pgp.com --recv-keys \"$key\" || \\\n\t\tgpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys \"$key\" ; \\\n\tdone \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/node\/v$NODE_VERSION\/node-v$NODE_VERSION-linux-armv7hf.tar.gz\" \\\n\t&& echo \"e2c943b43c91ae689185f16dc2db3baf22f05d044582b85012a5a9aa4d3e80d8 node-v$NODE_VERSION-linux-armv7hf.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"node-v$NODE_VERSION-linux-armv7hf.tar.gz\" -C \/usr\/local --strip-components=1 \\\n\t&& rm \"node-v$NODE_VERSION-linux-armv7hf.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz.asc\" \\\n\t&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& mkdir -p \/opt\/yarn \\\n\t&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C \/opt\/yarn --strip-components=1 \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarn \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarnpkg \\\n\t&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& npm config set unsafe-perm true -g --unsafe-perm \\\n\t&& rm -rf \/tmp\/*\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]","avg_line_length":55.9655172414,"max_line_length":175,"alphanum_fraction":0.7165742452}
{"size":831,"ext":null,"lang":"Dockerfile","max_stars_count":4.0,"content":"FROM golang:1\n\nENV PROJECT=zipper-s3\nENV BUILDINFO_PACKAGE=\"github.com\/Financial-Times\/service-status-go\/buildinfo.\"\n\nCOPY . \/${PROJECT}\/\nWORKDIR \/${PROJECT}\n\nRUN VERSION=\"version=$(git describe --tag --always 2> \/dev\/null)\" \\\n && DATETIME=\"dateTime=$(date -u +%Y%m%d%H%M%S)\" \\\n && REPOSITORY=\"repository=$(git config --get remote.origin.url)\" \\\n && REVISION=\"revision=$(git rev-parse HEAD)\" \\\n && BUILDER=\"builder=$(go version)\" \\\n && LDFLAGS=\"-X '\"${BUILDINFO_PACKAGE}$VERSION\"' -X '\"${BUILDINFO_PACKAGE}$DATETIME\"' -X '\"${BUILDINFO_PACKAGE}$REPOSITORY\"' -X '\"${BUILDINFO_PACKAGE}$REVISION\"' -X '\"${BUILDINFO_PACKAGE}$BUILDER\"'\" \\\n && echo \"Build flags: $LDFLAGS\" \\\n && CGO_ENABLED=0 go build -mod=readonly -a -o \/artifacts\/${PROJECT} -ldflags=\"${LDFLAGS}\" \n\nFROM alpine\nCOPY --from=0 \/artifacts\/* \/\n\nCMD [ \"\/zipper-s3\" ]\n","avg_line_length":37.7727272727,"max_line_length":201,"alphanum_fraction":0.6654632972}
{"size":647,"ext":null,"lang":"Dockerfile","max_stars_count":59.0,"content":"#\n# THIS FILE IS AUTOGENERATED; SEE \"contrib\/builder\/rpm\/amd64\/generate.sh\"!\n#\n\nFROM oraclelinux:7\n\nRUN yum groupinstall -y \"Development Tools\"\nRUN yum install -y --enablerepo=ol7_optional_latest btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common\n\nENV GO_VERSION 1.7.4\nRUN curl -fSL \"https:\/\/golang.org\/dl\/go${GO_VERSION}.linux-amd64.tar.gz\" | tar xzC \/usr\/local\nENV PATH $PATH:\/usr\/local\/go\/bin\n\nENV AUTO_GOPATH 1\n\nENV DOCKER_BUILDTAGS pkcs11 seccomp selinux\nENV RUNC_BUILDTAGS seccomp selinux\n\n","avg_line_length":34.0526315789,"max_line_length":253,"alphanum_fraction":0.7975270479}
{"size":283,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM balenalib\/armv7hf-debian:jessie-build\nLABEL io.balena.device-type=\"imx7-var-som\"\n\nRUN apt-get update && apt-get install -y --no-install-recommends \\\n\t\tless \\\n\t\tkmod \\\n\t\tnano \\\n\t\tnet-tools \\\n\t\tifupdown \\\n\t\tiputils-ping \\\n\t\ti2c-tools \\\n\t\tusbutils \\\n\t&& rm -rf \/var\/lib\/apt\/lists\/*","avg_line_length":21.7692307692,"max_line_length":66,"alphanum_fraction":0.6749116608}
{"size":596,"ext":null,"lang":"Dockerfile","max_stars_count":15.0,"content":"FROM svenruppert\/openjdk-ri:1.7.75\nMAINTAINER [email protected]\n\nARG MAVEN_VERSION=3.6.1\nARG USER_HOME_DIR=\"\/root\"\nARG BASE_URL=http:\/\/mirror.dkd.de\/apache\/maven\/binaries\/\n\nRUN mkdir -p \/usr\/share\/maven \/usr\/share\/maven\/ref \\\n && curl -o \/tmp\/apache-maven.tar.gz http:\/\/mirror.dkd.de\/apache\/maven\/binaries\/apache-maven-3.6.1-bin.tar.gz \\\n && tar -xzf \/tmp\/apache-maven.tar.gz -C \/usr\/share\/maven --strip-components=1 \\\n && rm -f \/tmp\/apache-maven.tar.gz \\\n && ln -s \/usr\/share\/maven\/bin\/mvn \/usr\/bin\/mvn\n\nENV MAVEN_HOME \/usr\/share\/maven\nENV MAVEN_CONFIG \"$USER_HOME_DIR\/.m2\"\n\nCMD [\"mvn\"]","avg_line_length":35.0588235294,"max_line_length":112,"alphanum_fraction":0.7197986577}
{"size":2065,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM arm32v7\/buildpack-deps:bionic-scm\n\n# Install .NET CLI dependencies\nRUN apt-get update \\\n && apt-get install -y --no-install-recommends \\\n libc6 \\\n libgcc1 \\\n libgssapi-krb5-2 \\\n libicu60 \\\n liblttng-ust0 \\\n libssl1.0.0 \\\n libstdc++6 \\\n zlib1g \\\n && rm -rf \/var\/lib\/apt\/lists\/*\n\n# Install .NET Core SDK\nENV DOTNET_SDK_VERSION=2.1.817\n\nRUN curl -SL --output dotnet.tar.gz https:\/\/dotnetcli.azureedge.net\/dotnet\/Sdk\/$DOTNET_SDK_VERSION\/dotnet-sdk-$DOTNET_SDK_VERSION-linux-arm.tar.gz \\\n && dotnet_sha512='e9daec784173dc5db9b3d96842db121078fc1e0862b36b971eb8a7fbde0c2ec3af2c19a185262549dde2a9555cd6338f7684c50d7a6e1a9c3f7958f5dfc32048' \\\n && echo \"$dotnet_sha512 dotnet.tar.gz\" | sha512sum -c - \\\n && mkdir -p \/usr\/share\/dotnet \\\n && tar -zxf dotnet.tar.gz -C \/usr\/share\/dotnet \\\n && rm dotnet.tar.gz \\\n && ln -s \/usr\/share\/dotnet\/dotnet \/usr\/bin\/dotnet \\\n # Add NuGet cache (ARM SDK doesn't include it)\n && curl -SL --output \/usr\/share\/dotnet\/sdk\/$DOTNET_SDK_VERSION\/nuGetPackagesArchive.lzma https:\/\/dotnetcli.azureedge.net\/dotnet\/Sdk\/$DOTNET_SDK_VERSION\/nuGetPackagesArchive.lzma \\\n && lzma_sha512='dea2b7c6da323a072564414c25ce04603ab0ed56b5088843d247416acd18fbd0341858077eb4f2010282f468f8aaec915ebbe52bd270a244489bd16a6ca70210' \\\n && echo \"$lzma_sha512 \/usr\/share\/dotnet\/sdk\/$DOTNET_SDK_VERSION\/nuGetPackagesArchive.lzma\" | sha512sum -c -\n\nENV \\\n # Configure web servers to bind to port 80 when present\n ASPNETCORE_URLS=http:\/\/+:80 \\\n # Do not generate certificate\n DOTNET_GENERATE_ASPNET_CERTIFICATE=false \\\n # Enable detection of running in a container\n DOTNET_RUNNING_IN_CONTAINER=true \\\n # Enable correct mode for dotnet watch (only mode supported in a container)\n DOTNET_USE_POLLING_FILE_WATCHER=true \\\n # Skip extraction of XML docs - generally not useful within an image\/container - helps performance\n NUGET_XMLDOC_MODE=skip\n\n# Trigger first run experience by running arbitrary cmd to populate local package cache\nRUN dotnet help\n","avg_line_length":45.8888888889,"max_line_length":183,"alphanum_fraction":0.7351089588}
{"size":5392,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# AUTOGENERATED FILE\nFROM balenalib\/beaglebone-pocket-alpine:3.9-build\n\n# remove several traces of python\nRUN apk del python*\n\n# http:\/\/bugs.python.org\/issue19846\n# > At the moment, setting \"LANG=C\" on a Linux system *fundamentally breaks Python 3*, and that's not OK.\nENV LANG C.UTF-8\n\n# key 63C7CC90: public key \"Simon McVittie <[email protected]>\" imported\n# key 3372DCFA: public key \"Donald Stufft (dstufft) <[email protected]>\" imported\nRUN gpg --keyserver keyring.debian.org --recv-keys 4DE8FF2A63C7CC90 \\\n\t&& gpg --keyserver keyserver.ubuntu.com --recv-key 6E3CBCE93372DCFA \\\n\t&& gpg --keyserver keyserver.ubuntu.com --recv-keys 0x52a43a1e4b77b059\n\n# point Python at a system-provided certificate database. Otherwise, we might hit CERTIFICATE_VERIFY_FAILED.\n# https:\/\/www.python.org\/dev\/peps\/pep-0476\/#trust-database\nENV SSL_CERT_FILE \/etc\/ssl\/certs\/ca-certificates.crt\n\nENV PYTHON_VERSION 3.6.11\n\n# if this is called \"PIP_VERSION\", pip explodes with \"ValueError: invalid truth value '<VERSION>'\"\nENV PYTHON_PIP_VERSION 20.1.1\n\nENV SETUPTOOLS_VERSION 49.1.0\n\nRUN set -x \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/python\/v$PYTHON_VERSION\/Python-$PYTHON_VERSION.linux-alpine-armv7hf-openssl1.1.tar.gz\" \\\n\t&& echo \"9c0e53e7c8fdf18e9d2da9f35dca1b4bdd3fdfbb0112b9fe1cea6aa6af364b6a Python-$PYTHON_VERSION.linux-alpine-armv7hf-openssl1.1.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"Python-$PYTHON_VERSION.linux-alpine-armv7hf-openssl1.1.tar.gz\" --strip-components=1 \\\n\t&& rm -rf \"Python-$PYTHON_VERSION.linux-alpine-armv7hf-openssl1.1.tar.gz\" \\\n\t&& if [ ! -e \/usr\/local\/bin\/pip3 ]; then : \\\n\t\t&& curl -SLO \"https:\/\/raw.githubusercontent.com\/pypa\/get-pip\/430ba37776ae2ad89f794c7a43b90dc23bac334c\/get-pip.py\" \\\n\t\t&& echo \"19dae841a150c86e2a09d475b5eb0602861f2a5b7761ec268049a662dbd2bd0c get-pip.py\" | sha256sum -c - \\\n\t\t&& python3 get-pip.py \\\n\t\t&& rm get-pip.py \\\n\t; fi \\\n\t&& pip3 install --no-cache-dir --upgrade --force-reinstall pip==\"$PYTHON_PIP_VERSION\" setuptools==\"$SETUPTOOLS_VERSION\" \\\n\t&& find \/usr\/local \\\n\t\t\\( -type d -a -name test -o -name tests \\) \\\n\t\t-o \\( -type f -a -name '*.pyc' -o -name '*.pyo' \\) \\\n\t\t-exec rm -rf '{}' + \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/python ~\/.cache\n\n# install \"virtualenv\", since the vast majority of users of this image will want it\nRUN pip3 install --no-cache-dir virtualenv\n\nENV PYTHON_DBUS_VERSION 1.2.8\n\n# install dbus-python dependencies \nRUN apk add --no-cache \\\n\t\tdbus-dev \\\n\t\tdbus-glib-dev\n\n# install dbus-python\nRUN set -x \\\n\t&& mkdir -p \/usr\/src\/dbus-python \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz\" -o dbus-python.tar.gz \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz.asc\" -o dbus-python.tar.gz.asc \\\n\t&& gpg --verify dbus-python.tar.gz.asc \\\n\t&& tar -xzC \/usr\/src\/dbus-python --strip-components=1 -f dbus-python.tar.gz \\\n\t&& rm dbus-python.tar.gz* \\\n\t&& cd \/usr\/src\/dbus-python \\\n\t&& PYTHON_VERSION=$(expr match \"$PYTHON_VERSION\" '\\([0-9]*\\.[0-9]*\\)') .\/configure \\\n\t&& make -j$(nproc) \\\n\t&& make install -j$(nproc) \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/dbus-python\n\n# make some useful symlinks that are expected to exist\nRUN cd \/usr\/local\/bin \\\n\t&& ln -sf pip3 pip \\\n\t&& { [ -e easy_install ] || ln -s easy_install-* easy_install; } \\\n\t&& ln -sf idle3 idle \\\n\t&& ln -sf pydoc3 pydoc \\\n\t&& ln -sf python3 python \\\n\t&& ln -sf python3-config python-config\n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo $'As of January 1st, 2020, Python 2 was end-of-life, we will change the latest tag for Balenalib Python base image to Python 3.x and drop support for Python 2 soon. So after 1st July, 2020, all the balenalib Python latest tag will point to the latest Python 3 version and no changes, or fixes will be made to balenalib Python 2 base image. If you are using Python 2 for your application, please upgrade to Python 3 before 1st July.' > \/.balena\/messages\/python-deprecation-warning\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@python\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo $'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v7 \\nOS: Alpine Linux 3.9 \\nVariant: build variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nPython v3.6.11, Pip v20.1.1, Setuptools v49.1.0 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo $'#!\/bin\/bash\\nbalena-info\\nbusybox ln -sf \/bin\/busybox \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& ln -f \/bin\/sh \/bin\/sh.real \\\n\t&& ln -f \/bin\/sh-shim \/bin\/sh","avg_line_length":56.1666666667,"max_line_length":715,"alphanum_fraction":0.7192136499}
{"size":565,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM bitnami\/minideb:unstable\n\nRUN set -x \\\n && addgroup --system --gid 101 certbot \\\n && adduser --system --disabled-login --ingroup certbot --no-create-home --home \/usr\/src\/certbot\/ --gecos \"certbot user\" --shell \/bin\/false --uid 101 certbot \\\n && mkdir -p \/usr\/src\/certbot\/logs \/usr\/src\/certbot\/conf \/usr\/src\/certbot\/work \\\n && chown -R certbot:certbot \/usr\/src\/certbot\n\nRUN install_packages certbot jq curl\n\n# Don't run as root\nUSER certbot\n\nCOPY .\/cli.ini \/usr\/src\/certbot\/\nCOPY .\/*.sh \/usr\/src\/certbot\/\n\nCMD [\"\/bin\/sh\", \"\/usr\/src\/certbot\/run.sh\"]\n","avg_line_length":31.3888888889,"max_line_length":162,"alphanum_fraction":0.6814159292}
{"size":181,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM python:3.8-slim\n\nLABEL maintainer=\"Edgardo Peregrino\"\n\nCOPY . \/app\n\nWORKDIR \/app\n\nRUN pip install -r requirements.txt\n\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]\n","avg_line_length":15.0833333333,"max_line_length":56,"alphanum_fraction":0.7016574586}
{"size":38,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM python:3.7-alpine\n\nWORKDIR \/app\n\n","avg_line_length":7.6,"max_line_length":22,"alphanum_fraction":0.7368421053}
{"size":2358,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"################################################################################\n# Base image\n################################################################################\n\nFROM nginx\n\n################################################################################\n# Build instructions\n################################################################################\n\n# Remove default nginx configs.\nRUN rm -f \/etc\/nginx\/conf.d\/*\n\n# Install packages\nRUN apt-get update && apt-get install -my \\\n supervisor \\\n curl \\\n wget \\\n php5-curl \\\n php5-fpm \\\n php5-gd \\\n php5-memcached \\\n php5-mysql \\\n php5-mcrypt \\\n php5-sqlite \\\n php5-xdebug \\\n php-apc \\\n php5-intl \\\n nano\n\n# Ensure that PHP5 FPM is run as root.\nRUN sed -i \"s\/user = www-data\/user = root\/\" \/etc\/php5\/fpm\/pool.d\/www.conf\nRUN sed -i \"s\/group = www-data\/group = root\/\" \/etc\/php5\/fpm\/pool.d\/www.conf\n\n# Pass all docker environment\nRUN sed -i '\/^;clear_env = no\/s\/^;\/\/' \/etc\/php5\/fpm\/pool.d\/www.conf\n\n# Get access to FPM-ping page \/ping\nRUN sed -i '\/^;ping\\.path\/s\/^;\/\/' \/etc\/php5\/fpm\/pool.d\/www.conf\n# Get access to FPM_Status page \/status\nRUN sed -i '\/^;pm\\.status_path\/s\/^;\/\/' \/etc\/php5\/fpm\/pool.d\/www.conf\n\n# Prevent PHP Warning: 'xdebug' already loaded.\n# XDebug loaded with the core\nRUN sed -i '\/.*xdebug.so$\/s\/^\/;\/' \/etc\/php5\/mods-available\/xdebug.ini\n\n# Install HHVM\nRUN apt-key adv --recv-keys --keyserver hkp:\/\/keyserver.ubuntu.com:80 0x5a16e7281be7a449\nRUN echo deb http:\/\/dl.hhvm.com\/debian jessie main | tee \/etc\/apt\/sources.list.d\/hhvm.list\nRUN apt-get update && apt-get install -y hhvm\n\n# Add configuration files\nCOPY conf\/nginx.conf \/etc\/nginx\/\nCOPY conf\/supervisord.conf \/etc\/supervisor\/conf.d\/\nCOPY conf\/php.ini \/etc\/php5\/fpm\/conf.d\/40-custom.ini\n\n################################################################################\n# Volumes\n################################################################################\n\nVOLUME [\"\/var\/www\", \"\/etc\/nginx\/conf.d\"]\n\n################################################################################\n# Ports\n################################################################################\n\nEXPOSE 80 443 9000\n\n################################################################################\n# Entrypoint\n################################################################################\n\nENTRYPOINT [\"\/usr\/bin\/supervisord\"]\n","avg_line_length":31.8648648649,"max_line_length":90,"alphanum_fraction":0.4520780322}
{"size":432,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM nginx:alpine\n\nARG HOST_USERID\n\nRUN rm \/etc\/nginx\/conf.d\/default.conf\nCOPY conf\/nginx.conf \/etc\/nginx\/nginx.conf\nCOPY conf.d\/app.conf \/etc\/nginx\/conf.d\/app.conf\nCOPY conf.d\/inc\/cors.conf \/etc\/nginx\/conf.d\/inc\/cors.conf\n\nRUN if [ ! -z \"$HOST_USERID\" ] ; then set -x ; \\\n delgroup www-data; \\\n deluser www-data; \\\n addgroup -g $HOST_USERID -S www-data ; \\\n adduser -u $HOST_USERID -D -S -G www-data www-data; \\\n fi\n","avg_line_length":27.0,"max_line_length":57,"alphanum_fraction":0.6759259259}
{"size":1028,"ext":null,"lang":"Dockerfile","max_stars_count":294.0,"content":"# Copyright 2020 Petuum, Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n\nFROM python:3.7-slim\nWORKDIR \/root\n\nFROM pytorch\/pytorch:1.6.0-cuda10.1-cudnn7-runtime\nWORKDIR \/root\n\n# Install apps\nCOPY adaptdl adaptdl\nCOPY examples\/requirements.txt .\n\nRUN cd adaptdl && python3 setup.py bdist_wheel\n\nARG ADAPTDL_VERSION=0.0.0\nRUN ADAPTDL_VERSION=${ADAPTDL_VERSION} pip install adaptdl\/dist\/*.whl\nRUN pip install -r requirements.txt\n\nRUN rm -rf adaptdl\/dist\n\nCOPY examples examples\n\nENV PYTHONUNBUFFERED=true\n","avg_line_length":27.7837837838,"max_line_length":74,"alphanum_fraction":0.7733463035}
{"size":876,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# Use Ubuntu 16.04 LTS\nFROM ubuntu:xenial-20161213\n\nRUN mkdir -p \/src \/input \/output \/work\n\nRUN apt update && \\\n apt install -y zip curl wget\n\nWORKDIR \/tmp\nRUN wget https:\/\/repo.anaconda.com\/miniconda\/Miniconda3-py38_4.10.3-Linux-x86_64.sh && \\\n chmod +x Miniconda3-py38_4.10.3-Linux-x86_64.sh && \\\n \/bin\/bash .\/Miniconda3-py38_4.10.3-Linux-x86_64.sh -b -p \/opt\/miniconda -f && \\\n export PATH=\/opt\/miniconda\/bin:$PATH && \\\n conda install -y pip\n\nENV PATH=\"\/opt\/miniconda\/bin:${PATH}\"\n\n# Create a shared $HOME directory\nRUN useradd -m -s \/bin\/bash -G users aacazxnat\nWORKDIR \/home\/aacazxnat\nENV HOME=\"\/home\/aacazxnat\"\n\nWORKDIR \/src\nCOPY .\/xnatUpload.py \/src\/xnatUpload.py\nADD xnatutils.gz \/src\nENV PATH=\"\/src\/:$PATH\"\nENV TZ=America\/Phoenix\nRUN ln -snf \/usr\/share\/zoneinfo\/$TZ \/etc\/localtime && echo $TZ > \/etc\/timezone\n\n#cleanup\nRUN rm -rf \/tmp\/*\n\nRUN ldconfig\nWORKDIR \/src\n","avg_line_length":25.0285714286,"max_line_length":88,"alphanum_fraction":0.7146118721}
{"size":361,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM maven:3.6.3-jdk-11-slim AS BUILD_STAGE\nRUN mkdir -p \/workspace\nWORKDIR \/workspace\nCOPY pom.xml \/workspace\nCOPY src \/workspace\/src\nRUN mvn -B -f pom.xml clean package -DskipTests\n\nFROM openjdk:11-jdk-slim\nCOPY --from=BUILD_STAGE \/workspace\/target\/iss-policy-service*.jar iss-policy-service.jar\nEXPOSE 8082\nENTRYPOINT [\"java\",\"-jar\",\"iss-policy-service.jar\"]","avg_line_length":32.8181818182,"max_line_length":88,"alphanum_fraction":0.7756232687}
{"size":541,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"ARG SOURCE_DOCKER_REGISTRY=localhost:5000\nARG IMAGE_ARCH=sandybridge\n\nFROM ${SOURCE_DOCKER_REGISTRY}\/leanix-1.0_opt_hmmcopy_utils-20170718:${IMAGE_ARCH} AS opt_hmmcopy_utils\n\nFROM ${SOURCE_DOCKER_REGISTRY}\/leanix-1.0_opt_base:${IMAGE_ARCH}\n\nCOPY --from=opt_hmmcopy_utils \/opt \/opt\n\nRUN mkdir -p \/opt\/bin\/ && echo \"#!\/bin\/bash\" > \/opt\/bin\/module && chmod a+x \/opt\/bin\/module\n\n#RUN cat \/etc\/group && false\n#RUN id && false\n#RUN mkdir \/tmp && chmod a+rwx \/tmp\n\nLABEL org.opencontainers.image.source=https:\/\/github.com\/tgen\/jetstream_containers\n","avg_line_length":31.8235294118,"max_line_length":103,"alphanum_fraction":0.7670979667}
{"size":1107,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"# Copyright 2020 Amazon.com Inc. or its affiliates. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nARG BASE_IMAGE\nFROM $BASE_IMAGE\n\nARG TARGETARCH\nARG TARGETOS\n\nRUN yum install -y shadow-utils && \\\n adduser \\\n --system \\\n --no-create-home \\\n --uid 10000 \\\n aws-iam-authenticator && \\\n yum update -y\n\nCOPY LICENSES \/LICENSES\nCOPY ATTRIBUTION.txt \/ATTRIBUTION.txt\nCOPY _output\/bin\/aws-iam-authenticator\/$TARGETOS-$TARGETARCH\/aws-iam-authenticator \/\nRUN chown aws-iam-authenticator \/aws-iam-authenticator\nUSER aws-iam-authenticator\nENTRYPOINT [\"\/aws-iam-authenticator\"]\n","avg_line_length":31.6285714286,"max_line_length":84,"alphanum_fraction":0.7506775068}
{"size":2211,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# AUTOGENERATED FILE\nFROM balenalib\/ts7700-debian:jessie-build\n\n# A few reasons for installing distribution-provided OpenJDK:\n#\n# 1. Oracle. Licensing prevents us from redistributing the official JDK.\n#\n# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets\n# really hairy.\n#\n# For some sample build times, see Debian's buildd logs:\n# https:\/\/buildd.debian.org\/status\/logs.php?pkg=openjdk-7\n\nRUN apt-get update && apt-get install -y --no-install-recommends \\\n\t\tbzip2 \\\n\t\tunzip \\\n\t\txz-utils \\\n\t&& rm -rf \/var\/lib\/apt\/lists\/*\n\n# Default to UTF-8 file.encoding\nENV LANG C.UTF-8\n\n# add a simple script that can auto-detect the appropriate JAVA_HOME value\n# based on whether the JDK or only the JRE is installed\nRUN { \\\n\t\techo '#!\/bin\/sh'; \\\n\t\techo 'set -e'; \\\n\t\techo; \\\n\t\techo 'dirname \"$(dirname \"$(readlink -f \"$(which javac || which java)\")\")\"'; \\\n\t} > \/usr\/local\/bin\/docker-java-home \\\n\t&& chmod +x \/usr\/local\/bin\/docker-java-home\n\n# do some fancy footwork to create a JAVA_HOME that's cross-architecture-safe\nRUN ln -svT \"\/usr\/lib\/jvm\/java-7-openjdk-$(dpkg --print-architecture)\" \/docker-java-home\nENV JAVA_HOME \/docker-java-home\n\nRUN set -ex; \\\n\t\\\n# deal with slim variants not having man page directories (which causes \"update-alternatives\" to fail)\n\tif [ ! -d \/usr\/share\/man\/man1 ]; then \\\n\t\tmkdir -p \/usr\/share\/man\/man1; \\\n\tfi; \\\n\t\\\n\tapt-get update; \\\n\tapt-get install -y --no-install-recommends \\\n\t\topenjdk-7-jdk \\\n\t; \\\n\trm -rf \/var\/lib\/apt\/lists\/*; \\\n\t\\\n# verify that \"docker-java-home\" returns what we expect\n\t[ \"$(readlink -f \"$JAVA_HOME\")\" = \"$(docker-java-home)\" ]; \\\n\t\\\n# update-alternatives so that future installs of other OpenJDK versions don't change \/usr\/bin\/java\n\tupdate-alternatives --get-selections | awk -v home=\"$(readlink -f \"$JAVA_HOME\")\" 'index($3, home) == 1 { $2 = \"manual\"; print | \"update-alternatives --set-selections\" }'; \\\n# ... and verify that it actually worked for one of the alternatives we care about\n\tupdate-alternatives --query java | grep -q 'Status: manual'\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]","avg_line_length":38.1206896552,"max_line_length":175,"alphanum_fraction":0.6942559928}
{"size":135,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM moccu\/caddy-base:0.10.2.1\n\nLABEL com.moccu.type=\"webfront\"\nUSER caddy\n\nCMD [\"caddy\", \"--agree\", \"--conf\", \"\/etc\/caddy\/Caddyfile\"]\n","avg_line_length":19.2857142857,"max_line_length":58,"alphanum_fraction":0.6740740741}
{"size":3223,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM ubuntu:focal-20220302\nLABEL authors=\"Selenium <[email protected]>\"\n\n#================================================\n# Customize sources for apt-get\n#================================================\nRUN echo \"deb http:\/\/archive.ubuntu.com\/ubuntu focal main universe\\n\" > \/etc\/apt\/sources.list \\\n && echo \"deb http:\/\/archive.ubuntu.com\/ubuntu focal-updates main universe\\n\" >> \/etc\/apt\/sources.list \\\n && echo \"deb http:\/\/security.ubuntu.com\/ubuntu focal-security main universe\\n\" >> \/etc\/apt\/sources.list\n\n# No interactive frontend during docker build\nENV DEBIAN_FRONTEND=noninteractive \\\n DEBCONF_NONINTERACTIVE_SEEN=true\n\n#========================\n# Miscellaneous packages\n# Includes minimal runtime used for executing non GUI Java programs\n#========================\nRUN apt-get -qqy update \\\n && apt-get -qqy --no-install-recommends install \\\n bzip2 \\\n ca-certificates \\\n openjdk-11-jre-headless \\\n tzdata \\\n sudo \\\n unzip \\\n wget \\\n jq \\\n curl \\\n supervisor \\\n gnupg2 \\\n && rm -rf \/var\/lib\/apt\/lists\/* \/var\/cache\/apt\/* \\\n && sed -i 's\/securerandom\\.source=file:\\\/dev\\\/random\/securerandom\\.source=file:\\\/dev\\\/urandom\/' .\/usr\/lib\/jvm\/java-11-openjdk-amd64\/conf\/security\/java.security\n\n#===================\n# Timezone settings\n# Possible alternative: https:\/\/github.com\/docker\/docker\/issues\/3359#issuecomment-32150214\n#===================\nENV TZ \"UTC\"\nRUN echo \"${TZ}\" > \/etc\/timezone \\\n && dpkg-reconfigure --frontend noninteractive tzdata\n\n#========================================\n# Add normal user and group with passwordless sudo\n#========================================\nRUN groupadd seluser \\\n --gid 1201 \\\n && useradd seluser \\\n --create-home \\\n --gid 1201 \\\n --shell \/bin\/bash \\\n --uid 1200 \\\n && usermod -a -G sudo seluser \\\n && echo 'ALL ALL = (ALL) NOPASSWD: ALL' >> \/etc\/sudoers \\\n && echo 'seluser:secret' | chpasswd\nENV HOME=\/home\/seluser\n\n#======================================\n# Add Grid check script\n#======================================\nCOPY check-grid.sh entry_point.sh \/opt\/bin\/\n\n#======================================\n# Add Supervisor configuration file\n#======================================\nCOPY supervisord.conf \/etc\n\n#==========\n# Selenium & relaxing permissions for OpenShift and other non-sudo environments\n#==========\nRUN mkdir -p \/opt\/selenium \/opt\/selenium\/assets \/var\/run\/supervisor \/tmp\/supervisor \\\n && touch \/opt\/selenium\/config.toml \\\n && chmod -R 777 \/opt\/selenium \/opt\/selenium\/assets \/var\/run\/supervisor \/tmp\/supervisor \/etc\/passwd \\\n && wget --no-verbose https:\/\/github.com\/SeleniumHQ\/selenium\/releases\/download\/selenium-4.1.0\/selenium-server-4.1.2.jar \\\n -O \/opt\/selenium\/selenium-server.jar \\\n && chgrp -R 0 \/opt\/selenium ${HOME} \/opt\/selenium\/assets \/var\/run\/supervisor \/tmp\/supervisor \\\n && chmod -R g=u \/opt\/selenium ${HOME} \/opt\/selenium\/assets \/var\/run\/supervisor \/tmp\/supervisor\n\n#===================================================\n# Run the following commands as non-privileged user\n#===================================================\nUSER 1200:1201\n\n# Boolean value, maps \"--bind-host\"\nENV SE_BIND_HOST false\n\n\n\nCMD [\"\/opt\/bin\/entry_point.sh\"]\n","avg_line_length":35.8111111111,"max_line_length":161,"alphanum_fraction":0.581135588}
{"size":991,"ext":null,"lang":"Dockerfile","max_stars_count":991.0,"content":"FROM loadimpact\/k6\nUSER root\nWORKDIR \/app\n\nENV AZURE_STORAGE_ACCOUNT=\nENV REGION=\nENV WebSiteURL=\n\n\n# This hack is widely applied to avoid python printing issues in docker containers.\n# See: https:\/\/github.com\/Docker-Hub-frolvlad\/docker-alpine-python3\/pull\/13\nENV PYTHONUNBUFFERED=1\n\nRUN echo \"**** install Python ****\" && \\\n apk add --no-cache python3 && \\\n if [ ! -e \/usr\/bin\/python ]; then ln -sf python3 \/usr\/bin\/python ; fi && \\\n \\\n echo \"**** install pip ****\" && \\\n python3 -m ensurepip && \\\n rm -r \/usr\/lib\/python*\/ensurepip && \\\n pip3 install --no-cache --upgrade pip setuptools wheel && \\\n if [ ! -e \/usr\/bin\/pip ]; then ln -s pip3 \/usr\/bin\/pip ; fi\n\nRUN apk update \nRUN apk add bash\nRUN apk add --virtual=build gcc libffi-dev musl-dev openssl-dev make python3-dev\nRUN pip --no-cache-dir install -U pip\nRUN pip --no-cache-dir install -I azure-cli\nRUN apk del --purge build\n\nCOPY .\/loadTest.js .\nCOPY .\/runTest.sh .\n\nENTRYPOINT [\"\/bin\/sh\", \"\/app\/runTest.sh\"]","avg_line_length":29.1470588235,"max_line_length":83,"alphanum_fraction":0.6700302725}
{"size":4863,"ext":null,"lang":"Dockerfile","max_stars_count":87.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/raspberrypi4-64-debian:bookworm-build\n\n# remove several traces of debian python\nRUN apt-get purge -y python.*\n\n# http:\/\/bugs.python.org\/issue19846\n# > At the moment, setting \"LANG=C\" on a Linux system *fundamentally breaks Python 3*, and that's not OK.\nENV LANG C.UTF-8\n\n# key 63C7CC90: public key \"Simon McVittie <[email protected]>\" imported\n# key 3372DCFA: public key \"Donald Stufft (dstufft) <[email protected]>\" imported\nRUN gpg --batch --keyserver keyring.debian.org --recv-keys 4DE8FF2A63C7CC90 \\\n\t&& gpg --batch --keyserver keyserver.ubuntu.com --recv-key 6E3CBCE93372DCFA \\\n\t&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 0x52a43a1e4b77b059\n\nENV PYTHON_VERSION 3.8.12\n\n# if this is called \"PIP_VERSION\", pip explodes with \"ValueError: invalid truth value '<VERSION>'\"\nENV PYTHON_PIP_VERSION 21.2.4\n\nENV SETUPTOOLS_VERSION 58.0.0\n\nRUN set -x \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/python\/v$PYTHON_VERSION\/Python-$PYTHON_VERSION.linux-aarch64-libffi3.3.tar.gz\" \\\n\t&& echo \"b04ecc256b15830a76bfcf1a5a4f8b510a10bc094e530df5267cd9e30e9aa955 Python-$PYTHON_VERSION.linux-aarch64-libffi3.3.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"Python-$PYTHON_VERSION.linux-aarch64-libffi3.3.tar.gz\" --strip-components=1 \\\n\t&& rm -rf \"Python-$PYTHON_VERSION.linux-aarch64-libffi3.3.tar.gz\" \\\n\t&& ldconfig \\\n\t&& if [ ! -e \/usr\/local\/bin\/pip3 ]; then : \\\n\t\t&& curl -SLO \"https:\/\/raw.githubusercontent.com\/pypa\/get-pip\/430ba37776ae2ad89f794c7a43b90dc23bac334c\/get-pip.py\" \\\n\t\t&& echo \"19dae841a150c86e2a09d475b5eb0602861f2a5b7761ec268049a662dbd2bd0c get-pip.py\" | sha256sum -c - \\\n\t\t&& python3 get-pip.py \\\n\t\t&& rm get-pip.py \\\n\t; fi \\\n\t&& pip3 install --no-cache-dir --upgrade --force-reinstall pip==\"$PYTHON_PIP_VERSION\" setuptools==\"$SETUPTOOLS_VERSION\" \\\n\t&& find \/usr\/local \\\n\t\t\\( -type d -a -name test -o -name tests \\) \\\n\t\t-o \\( -type f -a -name '*.pyc' -o -name '*.pyo' \\) \\\n\t\t-exec rm -rf '{}' + \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/python ~\/.cache\n\n# install \"virtualenv\", since the vast majority of users of this image will want it\nRUN pip3 install --no-cache-dir virtualenv\n\nENV PYTHON_DBUS_VERSION 1.2.18\n\n# install dbus-python dependencies \nRUN apt-get update && apt-get install -y --no-install-recommends \\\n\t\tlibdbus-1-dev \\\n\t\tlibdbus-glib-1-dev \\\n\t&& rm -rf \/var\/lib\/apt\/lists\/* \\\n\t&& apt-get -y autoremove\n\n# install dbus-python\nRUN set -x \\\n\t&& mkdir -p \/usr\/src\/dbus-python \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz\" -o dbus-python.tar.gz \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz.asc\" -o dbus-python.tar.gz.asc \\\n\t&& gpg --verify dbus-python.tar.gz.asc \\\n\t&& tar -xzC \/usr\/src\/dbus-python --strip-components=1 -f dbus-python.tar.gz \\\n\t&& rm dbus-python.tar.gz* \\\n\t&& cd \/usr\/src\/dbus-python \\\n\t&& PYTHON_VERSION=$(expr match \"$PYTHON_VERSION\" '\\([0-9]*\\.[0-9]*\\)') .\/configure \\\n\t&& make -j$(nproc) \\\n\t&& make install -j$(nproc) \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/dbus-python\n\n# make some useful symlinks that are expected to exist\nRUN cd \/usr\/local\/bin \\\n\t&& ln -sf pip3 pip \\\n\t&& { [ -e easy_install ] || ln -s easy_install-* easy_install; } \\\n\t&& ln -sf idle3 idle \\\n\t&& ln -sf pydoc3 pydoc \\\n\t&& ln -sf python3 python \\\n\t&& ln -sf python3-config python-config\n\n# set PYTHONPATH to point to dist-packages\nENV PYTHONPATH \/usr\/lib\/python3\/dist-packages:$PYTHONPATH\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@python\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo 'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v8 \\nOS: Debian Bookworm \\nVariant: build variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nPython v3.8.12, Pip v21.2.4, Setuptools v58.0.0 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo '#!\/bin\/sh.real\\nbalena-info\\nrm -f \/bin\/sh\\ncp \/bin\/sh.real \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& cp \/bin\/sh \/bin\/sh.real \\\n\t&& mv \/bin\/sh-shim \/bin\/sh","avg_line_length":50.65625,"max_line_length":713,"alphanum_fraction":0.7096442525}
{"size":1614,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# escape=`\n\n# Installer image\nFROM mcr.microsoft.com\/windows\/servercore:1909-amd64 AS installer\n\nSHELL [\"powershell\", \"-Command\", \"$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';\"]\n\n# Install ASP.NET Core Runtime\nENV ASPNETCORE_VERSION=2.1.26\n\nRUN Invoke-WebRequest -OutFile aspnetcore.zip https:\/\/dotnetcli.azureedge.net\/dotnet\/aspnetcore\/Runtime\/$Env:ASPNETCORE_VERSION\/aspnetcore-runtime-$Env:ASPNETCORE_VERSION-win-x64.zip; `\n $aspnetcore_sha512 = '07b8526ede1b0ae359dc93353d3e82570d60f3db9f6b649c6cf08da712e9fb8f3ffe3b9b24ccec9f39c1d69cd758bdfaef0a12c63b3d8d5b57ba5661ffe84e2d'; `\n if ((Get-FileHash aspnetcore.zip -Algorithm sha512).Hash -ne $aspnetcore_sha512) { `\n Write-Host 'CHECKSUM VERIFICATION FAILED!'; `\n exit 1; `\n }; `\n `\n mkdir dotnet; `\n tar -C dotnet -oxzf aspnetcore.zip; `\n Remove-Item -Force aspnetcore.zip\n\n\n# Runtime image\nFROM mcr.microsoft.com\/windows\/nanoserver:1909-amd64\n\n# Note: Runtime image's SHELL is the CMD shell (different than the installer image).\n\nCOPY --from=installer [\"\/dotnet\", \"\/Program Files\/dotnet\"]\n\n# In order to set system PATH, ContainerAdministrator must be used\nUSER ContainerAdministrator\nRUN setx \/M PATH \"%PATH%;C:\\Program Files\\dotnet\"\nUSER ContainerUser\n\nENV `\n # Configure web servers to bind to port 80 when present\n ASPNETCORE_URLS=http:\/\/+:80 `\n # Enable detection of running in a container\n DOTNET_RUNNING_IN_CONTAINER=true `\n # Deprecated, use `DOTNET_RUNNING_IN_CONTAINER` instead - https:\/\/github.com\/dotnet\/dotnet-docker\/issues\/677\n DOTNET_RUNNING_IN_CONTAINERS=true\n","avg_line_length":38.4285714286,"max_line_length":185,"alphanum_fraction":0.7602230483}
{"size":1209,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM node:7.7.4-wheezy\n\nLABEL mantainer \"Diego Dorgam <[email protected]>\"\n\nRUN \\\n npm install -g coffee-script hubot yo generator-hubot natural && \\\n rm -rf \/var\/lib\/apt\/lists\/*\n\nRUN groupadd -g 501 hubotnatural && \\\n useradd -m -u 501 -g 501 hubotnatural\n\nWORKDIR \/home\/hubotnatural\/bot\n\nRUN mkdir -p \/home\/hubotnatural\/.config\/configstore && \\\n echo \"optOut: true\" > \/home\/hubotnatural\/.config\/configstore\/insight-yo.yml && \\\n chown -R hubotnatural:hubotnatural \/home\/hubotnatural\n\nUSER hubotnatural\n\nENV HUBOT_ADAPTER=rocketchat HUBOT_OWNER=RocketChat HUBOT_NAME=HubotNatural HUBOT_DESCRIPTION=\"Processamento de linguagem natural com hubot\" ROCKETCHAT_URL=http:\/\/rocketchat:3000 ROCKETCHAT_ROOM=general RESPOND_TO_DM=true ROCKETCHAT_USER=chatbot ROCKETCHAT_PASSWORD=@12345@ ROCKETCHAT_AUTH=password HUBOT_LOG_LEVEL=debug\n\nRUN \/usr\/local\/bin\/yo hubot --adapter ${HUBOT_ADAPTER} --owner ${HUBOT_OWNER} --name ${HUBOT_NAME} --description ${HUBOT_DESCRIPTION} --defaults --no-insight\n\nCOPY [\"external-scripts.json\",\"package.json\", \"\/home\/hubotnatural\/bot\/\"]\n\nADD scripts\/ \/home\/hubotnatural\/bot\/scripts\/\n\nEXPOSE 80 3000\n\nUSER hubotnatural\nENTRYPOINT \/home\/hubotnatural\/bot\/bin\/hubot -a rocketchat\n","avg_line_length":37.78125,"max_line_length":320,"alphanum_fraction":0.7816377171}
{"size":4099,"ext":null,"lang":"Dockerfile","max_stars_count":87.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/bananapi-m1-plus-debian:stretch-run\n\n# remove several traces of debian python\nRUN apt-get purge -y python.*\n\n# http:\/\/bugs.python.org\/issue19846\n# > At the moment, setting \"LANG=C\" on a Linux system *fundamentally breaks Python 3*, and that's not OK.\nENV LANG C.UTF-8\n\n# install python dependencies\nRUN apt-get update && apt-get install -y --no-install-recommends \\\n\t\tca-certificates \\\n\t\tnetbase \\\n\t&& rm -rf \/var\/lib\/apt\/lists\/*\n\n# key 63C7CC90: public key \"Simon McVittie <[email protected]>\" imported\n# key 3372DCFA: public key \"Donald Stufft (dstufft) <[email protected]>\" imported\nRUN gpg --batch --keyserver keyring.debian.org --recv-keys 4DE8FF2A63C7CC90 \\\n\t&& gpg --batch --keyserver keyserver.ubuntu.com --recv-key 6E3CBCE93372DCFA \\\n\t&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 0x52a43a1e4b77b059\n\nENV PYTHON_VERSION 3.10.0\n\n# if this is called \"PIP_VERSION\", pip explodes with \"ValueError: invalid truth value '<VERSION>'\"\nENV PYTHON_PIP_VERSION 21.2.4\n\nENV SETUPTOOLS_VERSION 58.0.0\n\nRUN set -x \\\n\t&& buildDeps=' \\\n\t\tcurl \\\n\t' \\\n\t&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf \/var\/lib\/apt\/lists\/* \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/python\/v$PYTHON_VERSION\/Python-$PYTHON_VERSION.linux-armv7hf-libffi3.2.tar.gz\" \\\n\t&& echo \"ce89c2591e640a14e84687c675feb1b94b7d62f987b388a72bb0d9574d98b207 Python-$PYTHON_VERSION.linux-armv7hf-libffi3.2.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"Python-$PYTHON_VERSION.linux-armv7hf-libffi3.2.tar.gz\" --strip-components=1 \\\n\t&& rm -rf \"Python-$PYTHON_VERSION.linux-armv7hf-libffi3.2.tar.gz\" \\\n\t&& ldconfig \\\n\t&& if [ ! -e \/usr\/local\/bin\/pip3 ]; then : \\\n\t\t&& curl -SLO \"https:\/\/raw.githubusercontent.com\/pypa\/get-pip\/430ba37776ae2ad89f794c7a43b90dc23bac334c\/get-pip.py\" \\\n\t\t&& echo \"19dae841a150c86e2a09d475b5eb0602861f2a5b7761ec268049a662dbd2bd0c get-pip.py\" | sha256sum -c - \\\n\t\t&& python3 get-pip.py \\\n\t\t&& rm get-pip.py \\\n\t; fi \\\n\t&& pip3 install --no-cache-dir --upgrade --force-reinstall pip==\"$PYTHON_PIP_VERSION\" setuptools==\"$SETUPTOOLS_VERSION\" \\\n\t&& find \/usr\/local \\\n\t\t\\( -type d -a -name test -o -name tests \\) \\\n\t\t-o \\( -type f -a -name '*.pyc' -o -name '*.pyo' \\) \\\n\t\t-exec rm -rf '{}' + \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/python ~\/.cache\n\n# make some useful symlinks that are expected to exist\nRUN cd \/usr\/local\/bin \\\n\t&& ln -sf pip3 pip \\\n\t&& { [ -e easy_install ] || ln -s easy_install-* easy_install; } \\\n\t&& ln -sf idle3 idle \\\n\t&& ln -sf pydoc3 pydoc \\\n\t&& ln -sf python3 python \\\n\t&& ln -sf python3-config python-config\n\n# set PYTHONPATH to point to dist-packages\nENV PYTHONPATH \/usr\/lib\/python3\/dist-packages:$PYTHONPATH\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@python\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo 'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v7 \\nOS: Debian Stretch \\nVariant: run variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nPython v3.10.0, Pip v21.2.4, Setuptools v58.0.0 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo '#!\/bin\/sh.real\\nbalena-info\\nrm -f \/bin\/sh\\ncp \/bin\/sh.real \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& cp \/bin\/sh \/bin\/sh.real \\\n\t&& mv \/bin\/sh-shim \/bin\/sh","avg_line_length":51.8860759494,"max_line_length":710,"alphanum_fraction":0.7123688705}
{"size":636,"ext":null,"lang":"Dockerfile","max_stars_count":2.0,"content":"# Use an official Python runtime as a parent image\nFROM python:3.6.4-slim\n\n# Set the working directory to \/app\nWORKDIR \/app\n\n# Copy the current directory contents into the container at \/app\nADD . \/app\n\n# Install any needed packages specified in requirements.txt\nRUN pip install --trusted-host pypi.python.org -r requirements.txt\n\n# Make port 80 available to the world outside this container\nEXPOSE 80\n\n# Define environment variable\nENV NAME World\n\n# Run app.py when the container launches\nCMD [\"python\", \"app.py\"]\n\n# Set proxy server, replace host:port with values for your servers\n# ENV http_proxy host:port\n# ENV https_proxy host:port","avg_line_length":26.5,"max_line_length":66,"alphanum_fraction":0.7720125786}
{"size":1919,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM nvcr.io\/nvidia\/pytorch:19.04-py3\n\nRUN apt-get -y update && apt-get install -y \\\n\tpython3-pip \\\n\tsoftware-properties-common \\\n\twget \\\n\tca-certificates \\\n\tlibcurl4-openssl-dev \\\n\tlibssl-dev \\\n\tffmpeg\n\nRUN apt-get clean\nRUN update-ca-certificates -f\n\nRUN mkdir -p \/root\/.torch\/models\n\nRUN mkdir -p \/data\/models\n\nRUN wget -O \/root\/.torch\/models\/vgg16_bn-6c64b313.pth https:\/\/download.pytorch.org\/models\/vgg16_bn-6c64b313.pth\n\nRUN wget -O \/root\/.torch\/models\/resnet34-333f7ec4.pth https:\/\/download.pytorch.org\/models\/resnet34-333f7ec4.pth\n\n\n\n# if you want to avoid image building with downloading put your .pth file in root folder\nCOPY Dockerfile ColorizeArtistic_gen.* \/data\/models\/\nCOPY Dockerfile ColorizeVideo_gen.* \/data\/models\/\n\nRUN pip install --upgrade pip \\\n\t&& pip install versioneer==0.18 \\\n\t\ttensorboardX==1.6 \\\n\t\tFlask==1.1.1 \\\n\t\tpillow==6.1 \\\n\t\tnumpy==1.16 \\\n\t\tscikit-image==0.15.0 \\\n\t\trequests==2.21.0 \\\n\t\tffmpeg-python==0.1.17 \\\n\t\tyoutube-dl>=2019.4.17 \\\n\t\tjupyterlab==1.2.4 \\\n\t\topencv-python>=3.3.0.10 \\\n\t\twaitress>=2.1.1 \\\n\t\tfastai==1.0.51\n\n\nADD . \/data\/\n\nWORKDIR \/data\n\n# force download of file if not provided by local cache\nRUN [[ ! -f \/data\/models\/ColorizeArtistic_gen.pth ]] && wget -O \/data\/models\/ColorizeArtistic_gen.pth https:\/\/data.deepai.org\/deoldify\/ColorizeArtistic_gen.pth\nRUN [[ ! -f \/data\/models\/ColorizeVideo_gen.pth ]] && wget -O \/data\/models\/ColorizeVideo_gen.pth https:\/\/data.deepai.org\/deoldify\/ColorizeVideo_gen.pth\n\nCOPY run_notebook.sh \/usr\/local\/bin\/run_notebook\nCOPY run_image_api.sh \/usr\/local\/bin\/run_image_api\nCOPY run_video_api.sh \/usr\/local\/bin\/run_video_api\n\nRUN chmod +x \/usr\/local\/bin\/run_notebook\nRUN chmod +x \/usr\/local\/bin\/run_image_api\nRUN chmod +x \/usr\/local\/bin\/run_video_api\n\nEXPOSE 8888\nEXPOSE 5000\n\n# run notebook\n# ENTRYPOINT [\"sh\", \"run_notebook\"]\n\n# run image api\n# ENTRYPOINT [\"sh\", \"run_image_api\"]\n\n# run image api\n# ENTRYPOINT [\"sh\", \"run_video_api\"]\n","avg_line_length":26.6527777778,"max_line_length":159,"alphanum_fraction":0.7337154768}
{"size":585,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM virtuallabs\/jupyterbase\n\nRUN apt-get update\n\nRUN apt-get install -y build-essential libstdc++-4.8-dev\n\nRUN mkdir \/RT \nRUN wget https:\/\/root.cern.ch\/download\/cling\/cling_2017-04-12_ubuntu14.tar.bz2 -O \/RT\/cling_2017-04-12_ubuntu14.tar.bz2 && tar -jxvf \/RT\/cling_2017-04-12_ubuntu14.tar.bz2 \n\nRUN cd \/cling_2017-04-12_ubuntu14\/share\/cling\/Jupyter\/kernel && pip install -e . && jupyter-kernelspec install --user cling-cpp17\nRUN rm -rf \/RT\n\nADD .\/notebook.sh \/root\/scripts\/notebook.sh\n\nRUN chmod 755 \/root\/scripts\/notebook.sh\n\nEXPOSE 8888\n\nENTRYPOINT [\"\/root\/scripts\/notebook.sh\"]\n\n","avg_line_length":27.8571428571,"max_line_length":171,"alphanum_fraction":0.758974359}
{"size":99,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM node:10-alpine\n\nEXPOSE 8889\n\nADD . \/app\nWORKDIR \/app\n\nRUN npm install\n\nCMD node server-nr.js\n\n","avg_line_length":8.25,"max_line_length":21,"alphanum_fraction":0.7272727273}
{"size":1279,"ext":null,"lang":"Dockerfile","max_stars_count":13.0,"content":"FROM ubuntu:latest\nWORKDIR \/root\nENV DEBIAN_FRONTEND=noninteractive\nRUN apt-get update \\\n && apt-get install -y python3 python3-pip python3-tk libopenmpi-dev wget libsm6 libxext6 libxrender-dev\n\nRUN cd \/root \\\n && mkdir drl_fluid_film_python3\/\nCOPY .\/drl_fluid_film_python3 drl_fluid_film_python3\/\n\n# Let's install the dependencies of the projects, they are in `setup.py`\nRUN cd drl_fluid_film_python3\/gym-film \\\n && python3 -m pip install -U setuptools \\\n && python3 -m pip install -e .\/\n\n# We will now get the boost library, which we will install in \/usr\/local\/\nRUN cd \/usr\/local \\\n && wget -4 https:\/\/dl.bintray.com\/boostorg\/release\/1.67.0\/source\/boost_1_67_0.tar.bz2 \\\n && tar --bzip2 -xf boost_1_67_0.tar.bz2\n\n# Build it\nRUN cd \/usr\/local\/boost_1_67_0 \\\n && .\/bootstrap.sh --with-libraries=python --with-python=python3.6 \\\n && .\/b2\n\n# You need to let the linker know the path to the library `libboost_numpy36.so.1.67.0`\nRUN echo \"export LD_LIBRARY_PATH=\/usr\/local\/boost_1_67_0\/bin.v2\/libs\/python\/build\/gcc-7.4.0\/release\/threading-multi:$LD_LIBRARY_PATH\" >> \/root\/.bashrc\n\n# Now we need to make sure the python\/cpp bridge in our simulation solver is well built\nRUN cd \/root\/drl_fluid_film_python3\/gym-film\/gym_film\/envs\/simulation_solver \\\n && make clean \\\n && make","avg_line_length":39.96875,"max_line_length":150,"alphanum_fraction":0.7482408131}
{"size":2561,"ext":null,"lang":"Dockerfile","max_stars_count":127.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/orange-pi-one-ubuntu:xenial-build\n\nENV NODE_VERSION 17.9.1\nENV YARN_VERSION 1.22.4\n\nRUN for key in \\\n\t6A010C5166006599AA17F08146C2130DFD2497F5 \\\n\t; do \\\n\t\tgpg --keyserver pgp.mit.edu --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.pgp.com --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.ubuntu.com --recv-keys \"$key\" ; \\\n\tdone \\\n\t&& curl -SLO \"http:\/\/nodejs.org\/dist\/v$NODE_VERSION\/node-v$NODE_VERSION-linux-armv7l.tar.gz\" \\\n\t&& echo \"fb023264572944b187faf703fcbaf9aa95e443258422b90dbe755c77d3082e0f node-v$NODE_VERSION-linux-armv7l.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"node-v$NODE_VERSION-linux-armv7l.tar.gz\" -C \/usr\/local --strip-components=1 \\\n\t&& rm \"node-v$NODE_VERSION-linux-armv7l.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz.asc\" \\\n\t&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& mkdir -p \/opt\/yarn \\\n\t&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C \/opt\/yarn --strip-components=1 \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarn \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarnpkg \\\n\t&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& npm config set unsafe-perm true -g --unsafe-perm \\\n\t&& rm -rf \/tmp\/*\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@node\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo 'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v7 \\nOS: Ubuntu xenial \\nVariant: build variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nNode.js v17.9.1, Yarn v1.22.4 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info","avg_line_length":69.2162162162,"max_line_length":693,"alphanum_fraction":0.7270597423}
{"size":410,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM alpine\n\nWORKDIR \/helm-docs\nENV HELM_DOCS_VERSION=0.9.0\n\nRUN apk --no-cache add curl\n\nRUN curl -fsSLO https:\/\/github.com\/norwoodj\/helm-docs\/releases\/download\/v${HELM_DOCS_VERSION}\/helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.tar.gz \\\n && tar xzvf helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.tar.gz -C \/usr\/local\/bin helm-docs \\\n && rm helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.tar.gz\n\nCMD [\"helm-docs\"]\n","avg_line_length":31.5384615385,"max_line_length":146,"alphanum_fraction":0.7707317073}
{"size":214,"ext":null,"lang":"Dockerfile","max_stars_count":2.0,"content":"FROM registry.access.redhat.com\/ubi8\/ubi-minimal\nRUN microdnf update -y && microdnf clean all\n\nCOPY bugs-to-list \/bugs-to-list\nRUN chmod +x \/bugs-to-list\n\nCMD \/bugs-to-list --bugzilla-key=\/etc\/bugzilla\/bugzillaKey\n","avg_line_length":26.75,"max_line_length":58,"alphanum_fraction":0.7663551402}
{"size":847,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM ubuntu:16.04 AS build\nRUN apt-get update && apt-get install -y -q \\\n\tbuild-essential \\\n\tgit \\\n\tunzip \\\n\twget\nWORKDIR \/\nRUN wget -q -O polyml.zip https:\/\/github.com\/polyml\/polyml\/archive\/v5.8.zip && unzip polyml.zip && rm polyml.zip\nWORKDIR \/polyml-5.8\nRUN .\/configure --prefix=\/polyml-bin\nRUN make && make install\n\nWORKDIR \/\nRUN git clone -b master --depth 1 https:\/\/github.com\/HOL-Theorem-Prover\/HOL.git HOL\nWORKDIR \/HOL\nRUN \/polyml-bin\/bin\/poly < tools\/smart-configure.sml\nRUN bin\/build\n\nWORKDIR \/\nRUN git clone --depth 1 https:\/\/github.com\/loonwerks\/splat.git\nWORKDIR \/splat\nRUN \/HOL\/bin\/Holmake\n\nFROM ubuntu:16.04\nWORKDIR \/\nCOPY --from=build \/polyml-bin\/lib\/libpolyml.so.10 \/polyml-bin\/lib\/libpolyml.so.10\nCOPY --from=build \/splat\/splat \/splat\/splat\nWORKDIR \/user\nENV LD_LIBRARY_PATH=\/polyml-bin\/lib\nENTRYPOINT [ \"\/splat\/splat\" ]\nCMD []\n\n","avg_line_length":25.6666666667,"max_line_length":112,"alphanum_fraction":0.7343565525}
{"size":2752,"ext":null,"lang":"Dockerfile","max_stars_count":87.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/jetson-nano-ubuntu:impish-build\n\nENV NODE_VERSION 17.2.0\nENV YARN_VERSION 1.22.4\n\nRUN for key in \\\n\t6A010C5166006599AA17F08146C2130DFD2497F5 \\\n\t; do \\\n\t\tgpg --keyserver pgp.mit.edu --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.pgp.com --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.ubuntu.com --recv-keys \"$key\" ; \\\n\tdone \\\n\t&& curl -SLO \"http:\/\/nodejs.org\/dist\/v$NODE_VERSION\/node-v$NODE_VERSION-linux-arm64.tar.gz\" \\\n\t&& echo \"d5fbc40f78be71007960b8490d9dc605bc006c2986d44812b4071116e6499ca4 node-v$NODE_VERSION-linux-arm64.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"node-v$NODE_VERSION-linux-arm64.tar.gz\" -C \/usr\/local --strip-components=1 \\\n\t&& rm \"node-v$NODE_VERSION-linux-arm64.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz.asc\" \\\n\t&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& mkdir -p \/opt\/yarn \\\n\t&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C \/opt\/yarn --strip-components=1 \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarn \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarnpkg \\\n\t&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& npm config set unsafe-perm true -g --unsafe-perm \\\n\t&& rm -rf \/tmp\/*\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@node\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo 'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v8 \\nOS: Ubuntu impish \\nVariant: build variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nNode.js v17.2.0, Yarn v1.22.4 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo '#!\/bin\/sh.real\\nbalena-info\\nrm -f \/bin\/sh\\ncp \/bin\/sh.real \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& cp \/bin\/sh \/bin\/sh.real \\\n\t&& mv \/bin\/sh-shim \/bin\/sh","avg_line_length":65.5238095238,"max_line_length":693,"alphanum_fraction":0.7165697674}
{"size":930,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM debian:buster as base\nMAINTAINER darkwizard242 <[email protected]>\n\nENV DEPENDENCIES \"software-properties-common python3 python3-pip python3-setuptools python3-software-properties sudo apt-transport-https iputils-ping wget curl gnupg gcc python3-dev\"\n\nENV PIP_PKGS \"ansible\"\n\n# Install required dependencies\nRUN DEBIAN_FRONTEND=non-interactive apt-get update -y \\\n && DEBIAN_FRONTEND=non-interactive apt-get --no-install-recommends -y upgrade \\\n && DEBIAN_FRONTEND=non-interactive apt-get install --no-install-recommends -y ${DEPENDENCIES} \\\n && python3 -m pip install --no-cache-dir -U pip wheel \\\n && python3 -m pip install --no-cache-dir -U ${PIP_PKGS} \\\n && rm -rf \/var\/lib\/apt\/lists\/* \/var\/cache\/apt\/archives\/*.deb \\\n && for FILE in $(find \/var\/log -maxdepth 2 -type f); do echo \"\" > ${FILE}; done \\\n && apt-get autoremove \\\n && apt-get clean\n\nFROM base\n\n# Initialize\nCMD [\"\/bin\/bash\"]\n","avg_line_length":40.4347826087,"max_line_length":182,"alphanum_fraction":0.7086021505}
{"size":687,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM openjdk:11-jdk-slim\r\nCOPY target\/fapi-test-suite.jar \/server\/\r\nENV BASE_URL https:\/\/localhost:8443\r\nENV MONGODB_HOST mongodb\r\nENV JAVA_EXTRA_ARGS=\r\nEXPOSE 8080\r\nEXPOSE 9090\r\nENTRYPOINT java \\\r\n -D\"fintechlabs.base_url=${BASE_URL}\" \\\r\n -D\"spring.data.mongodb.uri=mongodb:\/\/${MONGODB_HOST}:27017\/test_suite\" \\\r\n ${JWKS:+-D\"fintechlabs.jwks=${JWKS}\"} \\\r\n ${SIGNING_KEY:+-D\"fintechlabs.signingKey=${SIGNING_KEY}\"} \\\r\n -D\"oidc.google.clientid=${OIDC_GOOGLE_CLIENTID}\" \\\r\n -D\"oidc.google.secret=${OIDC_GOOGLE_SECRET}\" \\\r\n -D\"oidc.gitlab.clientid=${OIDC_GITLAB_CLIENTID}\" \\\r\n -D\"oidc.gitlab.secret=${OIDC_GITLAB_SECRET}\" \\\r\n $JAVA_EXTRA_ARGS \\\r\n -jar \/server\/fapi-test-suite.jar\r\n","avg_line_length":36.1578947368,"max_line_length":75,"alphanum_fraction":0.7190684134}
{"size":4554,"ext":null,"lang":"Dockerfile","max_stars_count":63.0,"content":"#upstream https:\/\/github.com\/jenkinsci\/docker-jnlp-slave\nFROM debian:stretch\nMAINTAINER \u82e5\u865a <[email protected]>\n\nENV \\\n TERM=xterm \\\n LANG=en_US.UTF-8 \\\n LANGUAGE=en_US.UTF-8 \\\n LC_ALL=en_US.UTF-8 \\\n TIMEZONE=Asia\/Shanghai \\\n #openjdk8\n #JAVA_HOME=\/usr\/lib\/jvm\/java-8-openjdk-amd64 \\\n #DOCKER_EXTRA_OPTS=\"--insecure-registry=gitlab.default.svc.cluster.local:5000\" \\\n SSH_KNOWN_HOSTS=github.com\n\nRUN echo 'deb http:\/\/mirrors.aliyun.com\/debian stretch-backports main' > \/etc\/apt\/sources.list.d\/backports.list \\\n && sed -i 's\/deb.debian.org\/mirrors.aliyun.com\/' \/etc\/apt\/sources.list\n\n# Set timezone and locales\nRUN \\\n echo \"${TIMEZONE}\" > \/etc\/timezone \\\n && echo \"$LANG UTF-8\" > \/etc\/locale.gen \\\n && apt-get update -q \\\n && DEBIAN_FRONTEND=noninteractive apt-get install -yq apt-utils curl dialog vim-tiny locales \\ \n && ln -sf \/usr\/share\/zoneinfo\/${TIMEZONE} \/etc\/localtime \\\n && update-locale LANG=$LANG \\\n && locale-gen $LANG \\\n && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales\n\n#openjdk8 apt-get install -y openjdk-8-jdk-headless\n# Add Oracle Java PPA\nRUN \\\n apt-get -y update && \\\n apt-get -y install software-properties-common apt-transport-https gnupg2 ca-certificates && \\\n #add-apt-repository -y ppa:webupd8team\/java && \\\n echo 'deb http:\/\/ppa.launchpad.net\/webupd8team\/java\/ubuntu xenial main' > \/etc\/apt\/sources.list.d\/webupd8team-ubuntu-java.list && \\\n apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && \\\n apt-get -y update && \\\n # Auto-accept the Oracle License\n #echo \"debconf shared\/accepted-oracle-license-v1-1 select true\" | debconf-set-selections && \\\n #echo \"debconf shared\/accepted-oracle-license-v1-1 seen true\" | debconf-set-selections && \\\n echo oracle-java8-installer shared\/accepted-oracle-license-v1-1 select true | debconf-set-selections && \\\n apt-get -y install libpq-dev oracle-java8-installer && \\\n # Clean up\n rm -f \/var\/cache\/oracle-jdk8-installer\/jdk-*.tar.g\n\nRUN apt-get update -y \\\n && apt-get upgrade -y \\\n && apt-get install -y \\\n build-essential \\\n bzip2 \\\n sudo \\\n git \\\n iptables \\\n jq \\\n unzip \\\n zip \n\nARG MAVEN_VERSION=3.5.3\nARG USER_HOME_DIR=\"\/root\"\nARG SHA=b52956373fab1dd4277926507ab189fb797b3bc51a2a267a193c931fffad8408\n#ARG BASE_URL=https:\/\/apache.osuosl.org\/maven\/maven-3\/${MAVEN_VERSION}\/binaries\nARG BASE_URL=http:\/\/mirrors.tuna.tsinghua.edu.cn\/apache\/maven\/maven-3\/${MAVEN_VERSION}\/binaries\n\nRUN mkdir -p \/usr\/share\/maven \/usr\/share\/maven\/ref \\\n && curl -fsSL -o \/tmp\/apache-maven.tar.gz ${BASE_URL}\/apache-maven-${MAVEN_VERSION}-bin.tar.gz \\\n && echo \"${SHA} \/tmp\/apache-maven.tar.gz\" | sha256sum -c - \\\n && tar -xzf \/tmp\/apache-maven.tar.gz -C \/usr\/share\/maven --strip-components=1 \\\n && rm -f \/tmp\/apache-maven.tar.gz \\\n && ln -s \/usr\/share\/maven\/bin\/mvn \/usr\/bin\/mvn\n\nENV MAVEN_HOME \/usr\/share\/maven\nENV MAVEN_CONFIG \"$USER_HOME_DIR\/.m2\"\n\nCOPY mvn-entrypoint.sh \/usr\/local\/bin\/mvn-entrypoint.sh\nCOPY settings-docker.xml \/usr\/share\/maven\/ref\/\n\n#Install Docker in Docker\nRUN \\\n curl -fsSL https:\/\/download.docker.com\/linux\/$(. \/etc\/os-release; echo \"$ID\")\/gpg |apt-key add - \\\n && add-apt-repository \\\n \"deb [arch=amd64] https:\/\/download.docker.com\/linux\/$(. \/etc\/os-release; echo \"$ID\") \\\n $(lsb_release -cs) \\\n stable\" \\\n && apt-get update -y \\\n && apt-get install -y docker-ce\n\nCOPY daemon.json \/etc\/docker\/daemon.json\n\n# jenkins slave\nENV HOME \/home\/jenkins\n\nRUN groupadd -g 10000 jenkins \\\n && useradd -c \"Jenkins user\" -d $HOME -u 10000 -g 10000 -m jenkins \\\n && usermod -a -G docker jenkins \\\n && sed -i '\/^root\/a\\jenkins ALL=(ALL:ALL) NOPASSWD:ALL' \/etc\/sudoers\n\nLABEL Description=\"This is a base image, which provides the Jenkins agent executable (slave.jar)\" Vendor=\"Jenkins project\" Version=\"3.20\"\n\nARG VERSION=3.20\nARG AGENT_WORKDIR=\/home\/jenkins\/agent\n\nRUN curl --create-dirs -sSLo \/usr\/share\/jenkins\/slave.jar https:\/\/repo.jenkins-ci.org\/public\/org\/jenkins-ci\/main\/remoting\/${VERSION}\/remoting-${VERSION}.jar \\\n && chmod 755 \/usr\/share\/jenkins \\\n && chmod 644 \/usr\/share\/jenkins\/slave.jar\n\nCOPY jenkins-slave \/usr\/local\/bin\/jenkins-slave\nUSER jenkins\n\nENV AGENT_WORKDIR=${AGENT_WORKDIR}\nRUN mkdir \/home\/jenkins\/.jenkins && mkdir -p ${AGENT_WORKDIR}\n\nVOLUME \/home\/jenkins\/.jenkins\nVOLUME ${AGENT_WORKDIR}\nWORKDIR \/home\/jenkins\n\nENTRYPOINT [\"jenkins-slave\"]\n","avg_line_length":38.593220339,"max_line_length":158,"alphanum_fraction":0.6750109794}
{"size":5016,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM golang:1.17 as meshery-server\nARG TOKEN\nARG GIT_VERSION\nARG GIT_COMMITSHA\nARG RELEASE_CHANNEL\n\nRUN adduser --disabled-login appuser\nWORKDIR \/github.com\/meshery\/meshery\nADD . .\nRUN go clean -modcache; cd cmd; GOPROXY=https:\/\/proxy.golang.org GOSUMDB=off go build -ldflags=\"-w -s -X main.globalTokenForAnonymousResults=$TOKEN -X main.version=$GIT_VERSION -X main.commitsha=$GIT_COMMITSHA -X main.releasechannel=$RELEASE_CHANNEL\" -tags draft -a -o \/meshery .\n\nFROM node:16 as ui\nADD ui ui\nRUN cd ui; npm install --only=production; npm run build && npm run export; mv out \/\n\nFROM node:16 as provider-ui\nADD provider-ui provider-ui\nRUN cd provider-ui; npm install --only=production; npm run build && npm run export; mv out \/\n\nFROM ubuntu as wrk2\nRUN apt-get -y update && apt-get -y install git && apt-get clean && rm -rf \/var\/lib\/apt\/lists\/* \/tmp\/* \/var\/tmp\/* \/usr\/share\/man\/?? \/usr\/share\/man\/??_*\nRUN apt-get -y update && apt-get -y install build-essential libssl-dev git zlib1g-dev\nRUN git config --global user.email \"[email protected]\"\nRUN git config --global user.name \"meshery\"\nRUN git clone --depth=1 https:\/\/github.com\/layer5io\/wrk2 && cd wrk2 && make\n\nFROM alpine:3.15 as seed_content\nRUN apk add --no-cache curl\nWORKDIR \/\nRUN lines=$(curl -s https:\/\/api.github.com\/repos\/layer5io\/wasm-filters\/releases\/latest | grep \"browser_download_url.*wasm\" | cut -d : -f 2,3 | sed 's\/\"\/\/g') \\\n && mkdir -p seed_content\/filters\/binaries \\ \n && cd seed_content\/filters\/binaries \\\n for line in $lines \\\n do \\\n curl -LO $line \\\n done \n\n# bundling patterns\nRUN curl -L -s https:\/\/github.com\/service-mesh-patterns\/service-mesh-patterns\/tarball\/master -o service-mesh-patterns.tgz \\\n && mkdir service-mesh-patterns \\\n && mkdir -p \/seed_content\/patterns \\\n && tar xzf service-mesh-patterns.tgz --directory=service-mesh-patterns \\\n && mv service-mesh-patterns\/*\/samples\/* \/seed_content\/patterns\/\n\n# bundling applications\nRUN mkdir -p \/seed_content\/applications && cd \/seed_content\/applications \\\n && curl -LO https:\/\/raw.githubusercontent.com\/istio\/istio\/master\/samples\/bookinfo\/platform\/kube\/bookinfo.yaml \\\n && curl -LO https:\/\/raw.githubusercontent.com\/istio\/istio\/master\/samples\/httpbin\/httpbin.yaml \\\n && curl -L https:\/\/raw.githubusercontent.com\/layer5io\/image-hub\/master\/deployment.yaml -o imagehub.yaml \\\n && mkdir \/emojivoto && (cd \/emojivoto && curl --remote-name-all -L https:\/\/raw.githubusercontent.com\/BuoyantIO\/emojivoto\/main\/kustomize\/deployment\/emoji.yml \\\n https:\/\/raw.githubusercontent.com\/BuoyantIO\/emojivoto\/main\/kustomize\/deployment\/vote-bot.yml \\\n https:\/\/raw.githubusercontent.com\/BuoyantIO\/emojivoto\/main\/kustomize\/deployment\/voting.yml \\\n https:\/\/raw.githubusercontent.com\/BuoyantIO\/emojivoto\/main\/kustomize\/deployment\/web.yml) \\\n && awk 'FNR==1 && NR>1 { printf(\"\\n%s\\n\\n\",\"---\") } 1' \/emojivoto\/*.yml > \/seed_content\/applications\/emojivoto.yml\n\n#FROM ubuntu as nighthawk\n#RUN apt-get -y update && apt-get -y install git && apt-get clean && rm -rf \/var\/lib\/apt\/lists\/* \/tmp\/* \/var\/tmp\/* \/usr\/share\/man\/?? \/usr\/share\/man\/??_*\n#RUN apt-get -y update && apt-get -y install build-essential libssl-dev git zlib1g-dev\n#RUN git config --global user.email \"[email protected]\"\n#RUN git config --global user.name \"meshery\"\n#RUN git clone https:\/\/github.com\/layer5io\/nighthawk-go\n#RUN cd nighthawk-go\/apinighthawk\/bin && chmod +x .\/nighthawk_client\n\nFROM alpine:3.15 as jsonschema-util\nRUN apk add --no-cache curl\nWORKDIR \/\nRUN UTIL_VERSION=$(curl -L -s https:\/\/api.github.com\/repos\/layer5io\/kubeopenapi-jsonschema\/releases\/latest | \\\n\tgrep tag_name | sed \"s\/ *\\\"tag_name\\\": *\\\"\\\\(.*\\\\)\\\",*\/\\\\1\/\" | \\\n\tgrep -v \"rc\\.[0-9]$\"| head -n 1 ) \\\n\t&& curl -L https:\/\/github.com\/layer5io\/kubeopenapi-jsonschema\/releases\/download\/${UTIL_VERSION}\/kubeopenapi-jsonschema -o kubeopenapi-jsonschema \\\n\t&& chmod +x \/kubeopenapi-jsonschema\n\nFROM frolvlad\/alpine-glibc:alpine-3.13_glibc-2.32\n#RUN apt-get update; apt-get install -y ca-certificates; update-ca-certificates && rm -rf \/var\/lib\/apt\/lists\/*\nRUN apk update && apk add ca-certificates; update-ca-certificates && rm -rf \/var\/cache\/apk\/*\nRUN update-ca-certificates\nCOPY .\/oam \/app\/oam\nCOPY --from=meshery-server \/meshery \/app\/cmd\/\nCOPY --from=meshery-server \/etc\/passwd \/etc\/passwd\nCOPY --from=meshery-server \/github.com\/meshery\/meshery\/helpers\/swagger.yaml \/app\/helpers\/swagger.yaml\nCOPY --from=ui \/out \/app\/ui\/out\nCOPY --from=provider-ui \/out \/app\/provider-ui\/out\nCOPY --from=wrk2 \/wrk2 \/app\/cmd\/wrk2\nCOPY --from=wrk2 \/wrk2\/wrk \/usr\/local\/bin\nCOPY --from=seed_content \/seed_content \/home\/appuser\/.meshery\/seed_content\nCOPY --from=layer5\/getnighthawk:latest \/usr\/local\/bin\/nighthawk_service \/app\/cmd\/\nCOPY --from=layer5\/getnighthawk:latest \/usr\/local\/bin\/nighthawk_output_transform \/app\/cmd\/\nCOPY --from=jsonschema-util \/kubeopenapi-jsonschema \/home\/appuser\/.meshery\/bin\/kubeopenapi-jsonschema\n\nRUN mkdir -p \/home\/appuser\/.meshery\/config; chown -R appuser \/home\/appuser\/\nUSER appuser\nWORKDIR \/app\/cmd\nCMD .\/meshery\n","avg_line_length":53.3617021277,"max_line_length":279,"alphanum_fraction":0.7336523126}
{"size":342,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM alpine:3.13 as downloader\nRUN wget https:\/\/github.com\/NebuTech\/NBMiner\/releases\/download\/v37.1\/NBMiner_37.1_Linux.tgz -O - | tar xz\nWORKDIR \/NBMiner_Linux\nRUN sha256sum -c nbminer.sha256\n\nFROM ubuntu:20.04\nCOPY --from=downloader \/NBMiner_Linux\/nbminer .\nRUN useradd -r -s \/bin\/false nbminer\nUSER nbminer\nENTRYPOINT [\".\/nbminer\", \"--RUN\"]","avg_line_length":34.2,"max_line_length":105,"alphanum_fraction":0.769005848}
{"size":395,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# Docker image for gmond2fluentd\n#\n\n\n# pull base image\nFROM williamyeh\/dash\n#FROM williamyeh\/busybox-sh\n#FROM busybox\n#FROM progrium\/busybox\n#FROM alpine:3.1\n#FROM debian:jessie\n\nMAINTAINER William Yeh <[email protected]>\n\n\nWORKDIR \/opt\nCOPY gmond2fluentd_static_linux-amd64 \/opt\/gmond2fluentd\nCOPY wrapper \/opt\/\n\nENTRYPOINT [\"\/opt\/wrapper\"]\nCMD [\"--help\"]","avg_line_length":18.8095238095,"max_line_length":60,"alphanum_fraction":0.7113924051}
{"size":1847,"ext":null,"lang":"Dockerfile","max_stars_count":3.0,"content":"FROM centos:7\n\nENV NGINX_VERSION=1.16.1\nENV HTTP_FLV_MODULE_VERSION=1.2.7\nENV NGINX_TMEP_PATH=\/var\/lib\/nginx\/tmp\n\nRUN yum update -y\nRUN yum install curl wget gcc make openssl-devel libxslt-devel pcre-devel zlib-devel -y\n\nRUN adduser nginx\nRUN mkdir -p ${NGINX_TMEP_PATH}\n\nRUN mkdir -p \/tempDir && cd \/tempDir \\\n && wget http:\/\/nginx.org\/download\/nginx-${NGINX_VERSION}.tar.gz \\\n && wget https:\/\/github.com\/winshining\/nginx-http-flv-module\/archive\/v${HTTP_FLV_MODULE_VERSION}.tar.gz \\\n && tar -zxvf nginx-${NGINX_VERSION}.tar.gz \\\n && tar -zxvf v${HTTP_FLV_MODULE_VERSION}.tar.gz \\\n && cd nginx-${NGINX_VERSION} \\\n && .\/configure \\\n --prefix=\/usr\/share\/nginx \\\n --sbin-path=\/usr\/sbin\/nginx \\\n --modules-path=\/usr\/lib64\/nginx\/modules \\\n --conf-path=\/etc\/nginx\/nginx.conf \\\n --error-log-path=\/var\/log\/nginx\/error.log \\\n --http-log-path=\/var\/log\/nginx\/access.log \\\n --http-client-body-temp-path=${NGINX_TMEP_PATH}\/client_body \\\n --http-proxy-temp-path=${NGINX_TMEP_PATH}\/proxy \\\n --http-fastcgi-temp-path=${NGINX_TMEP_PATH}\/fastcgi \\\n --http-uwsgi-temp-path=${NGINX_TMEP_PATH}\/uwsgi \\\n --http-scgi-temp-path=${NGINX_TMEP_PATH}\/scgi \\\n --pid-path=\/run\/nginx.pid \\\n --lock-path=\/run\/lock\/subsys\/nginx \\\n --user=nginx \\\n --group=nginx \\\n --with-pcre \\\n --with-http_ssl_module \\\n --add-module=\/tempDir\/nginx-http-flv-module-${HTTP_FLV_MODULE_VERSION} \\\n && make && make install \\\n && rm -rf \/tempDir\n\nRUN yum clean headers \\\n && yum clean packages \\\n && yum clean metadata\n\nRUN ln -sf \/dev\/stdout \/var\/log\/nginx\/access.log \\\n && ln -sf \/dev\/stderr \/var\/log\/nginx\/error.log\n\nCOPY nginx\/nginx.conf \/etc\/nginx\/nginx.conf\n\nEXPOSE 80\nEXPOSE 1935\n\nSTOPSIGNAL SIGTERM\n\nCMD [\"nginx\", \"-g\", \"daemon off;\"]","avg_line_length":33.5818181818,"max_line_length":108,"alphanum_fraction":0.6486193828}
{"size":1132,"ext":null,"lang":"Dockerfile","max_stars_count":3.0,"content":"FROM ubuntu:bionic-20191202\n\nENV DEBIAN_FRONTEND=noninteractive\n\nARG VERSION=3.8.1\n\nRUN apt-get update && apt-get install -y \\\n build-essential \\\n zlib1g-dev \\\n libbz2-dev \\\n libncurses5-dev \\\n libgpm-dev \\\n libreadline6-dev \\\n libsqlite3-dev \\\n libssl-dev \\\n libgdbm-dev \\\n libgdbm-compat-dev \\\n liblzma-dev \\\n libffi-dev \\\n uuid-dev \\\n tk8.5-dev \\\n curl\n\n# Regular compilation of python from sources\nRUN curl -L https:\/\/www.python.org\/ftp\/python\/${VERSION}\/Python-${VERSION}.tgz -o Python-${VERSION}.tgz\nRUN tar -xf Python-${VERSION}.tgz\nRUN mv Python-${VERSION} pysrc\nRUN cd pysrc && .\/configure --enable-optimizations\nCOPY funcs_to_remove .\nRUN cat funcs_to_remove | xargs -I{} sed -i '\/have_{} \/Id' pysrc\/pyconfig.h\nCOPY frozenmain.c pysrc\/Python\/frozenmain.c\nRUN cd pysrc && make -j$(nproc)\nRUN pysrc\/python -m ensurepip\n\n# Prepare extensions directory with all objects that usually end up in *.so modules\nRUN mkdir ext\nRUN find pysrc -type d -name Modules | xargs -i{} bash -c \"cp -r {}\/* ext\/\"\nCOPY Setup ext\/Setup\n\nCOPY overrides.c .\nCOPY freeze.sh .\n\nENTRYPOINT [\"\/freeze.sh\"]\n","avg_line_length":25.7272727273,"max_line_length":103,"alphanum_fraction":0.6934628975}
{"size":211,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM python:3\n\n# equivaut \u00e0 mkdir app puis cd app\nWORKDIR \/usr\/src\/app\n\nCOPY requirements.txt .\/\nRUN pip install --no-cache-dir -r requirements.txt\n\nCOPY .\/src .\n\nRUN chmod +x app.py\n\nCMD [ \"python3\", \"app.py\" ]","avg_line_length":16.2307692308,"max_line_length":50,"alphanum_fraction":0.6966824645}
{"size":411,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM ruby:2.4.10-alpine3.10\n\nENV POST_SERVICE_HOST post\nENV POST_SERVICE_PORT 5000\nENV COMMENT_SERVICE_HOST comment\nENV COMMENT_SERVICE_PORT 9292\nENV APP_HOME \/app\n\nRUN mkdir $APP_HOME\nWORKDIR $APP_HOME\nCOPY Gemfile* $APP_HOME\/\n\nRUN apk add --no-cache --virtual .build-deps build-base \\\n && gem install bundler -v \"1.16.1\" \\\n && bundle install \\\n && apk del .build-deps\n\nCOPY . $APP_HOME\n\nCMD [\"puma\"]\n","avg_line_length":19.5714285714,"max_line_length":57,"alphanum_fraction":0.7299270073}
{"size":6606,"ext":null,"lang":"Dockerfile","max_stars_count":7.0,"content":"##\n# osgeo\/gdal:alpine-small\n\n# This file is available at the option of the licensee under:\n# Public domain\n# or licensed under X\/MIT (LICENSE.TXT) Copyright 2019 Even Rouault <[email protected]>\n\nARG ALPINE_VERSION=3.13\nFROM alpine:${ALPINE_VERSION} as builder\n\n# Derived from osgeo\/proj by Howard Butler <[email protected]>\nLABEL maintainer=\"Even Rouault <[email protected]>\"\n\n# Setup build env for PROJ\nRUN apk add --no-cache wget curl unzip make libtool autoconf automake pkgconfig g++ sqlite sqlite-dev\n\n# For PROJ and GDAL\nRUN apk add --no-cache \\\n linux-headers \\\n curl-dev tiff-dev \\\n zlib-dev zstd-dev \\\n libjpeg-turbo-dev libpng-dev libwebp-dev expat-dev postgresql-dev openjpeg-dev\n\n# Build openjpeg\n#ARG OPENJPEG_VERSION=2.3.1\nRUN if test \"${OPENJPEG_VERSION}\" != \"\"; then ( \\\n apk add --no-cache cmake \\\n && wget -q https:\/\/github.com\/uclouvain\/openjpeg\/archive\/v${OPENJPEG_VERSION}.tar.gz \\\n && tar xzf v${OPENJPEG_VERSION}.tar.gz \\\n && rm -f v${OPENJPEG_VERSION}.tar.gz \\\n && cd openjpeg-${OPENJPEG_VERSION} \\\n && cmake . -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF -DCMAKE_BUILD_TYPE=Release \\\n -DCMAKE_INSTALL_PREFIX=\/usr \\\n && make -j$(nproc) \\\n && make install \\\n && mkdir -p \/build_thirdparty\/usr\/lib \\\n && cp -P \/usr\/lib\/libopenjp2*.so* \/build_thirdparty\/usr\/lib \\\n && for i in \/build_thirdparty\/usr\/lib\/*; do strip -s $i 2>\/dev\/null || \/bin\/true; done \\\n && cd .. \\\n && rm -rf openjpeg-${OPENJPEG_VERSION} \\\n && apk del cmake \\\n ); fi\n\nRUN apk add --no-cache rsync ccache\n\nARG PROJ_DATUMGRID_LATEST_LAST_MODIFIED\nRUN \\\n mkdir -p \/build_projgrids\/usr\/share\/proj \\\n && curl -LOs http:\/\/download.osgeo.org\/proj\/proj-datumgrid-latest.zip \\\n && unzip -q -j -u -o proj-datumgrid-latest.zip -d \/build_projgrids\/usr\/share\/proj \\\n && rm -f *.zip\n\nARG RSYNC_REMOTE\n\n# Build PROJ\nARG PROJ_VERSION=master\nRUN mkdir proj \\\n && wget -q https:\/\/github.com\/OSGeo\/PROJ\/archive\/${PROJ_VERSION}.tar.gz -O - \\\n | tar xz -C proj --strip-components=1 \\\n && cd proj \\\n && .\/autogen.sh \\\n && if test \"${RSYNC_REMOTE}\" != \"\"; then \\\n echo \"Downloading cache...\"; \\\n rsync -ra ${RSYNC_REMOTE}\/proj\/ $HOME\/; \\\n echo \"Finished\"; \\\n export CC=\"ccache gcc\"; \\\n export CXX=\"ccache g++\"; \\\n export PROJ_DB_CACHE_DIR=\"$HOME\/.ccache\"; \\\n ccache -M 100M; \\\n fi \\\n && .\/configure --prefix=\/usr --disable-static --enable-lto \\\n && make -j$(nproc) \\\n && make install \\\n && make install DESTDIR=\"\/build_proj\" \\\n && if test \"${RSYNC_REMOTE}\" != \"\"; then \\\n ccache -s; \\\n echo \"Uploading cache...\"; \\\n rsync -ra --delete $HOME\/.ccache ${RSYNC_REMOTE}\/proj\/; \\\n echo \"Finished\"; \\\n rm -rf $HOME\/.ccache; \\\n unset CC; \\\n unset CXX; \\\n fi \\\n && cd .. \\\n && rm -rf proj \\\n && for i in \/build_proj\/usr\/lib\/*; do strip -s $i 2>\/dev\/null || \/bin\/true; done \\\n && for i in \/build_proj\/usr\/bin\/*; do strip -s $i 2>\/dev\/null || \/bin\/true; done\n\n# Build GDAL\nARG GDAL_VERSION=master\nARG GDAL_RELEASE_DATE\nARG GDAL_BUILD_IS_RELEASE\nRUN if test \"${GDAL_VERSION}\" = \"master\"; then \\\n export GDAL_VERSION=$(curl -Ls https:\/\/api.github.com\/repos\/OSGeo\/gdal\/commits\/HEAD -H \"Accept: application\/vnd.github.VERSION.sha\"); \\\n export GDAL_RELEASE_DATE=$(date \"+%Y%m%d\"); \\\n fi \\\n && if test \"x${GDAL_BUILD_IS_RELEASE}\" = \"x\"; then \\\n export GDAL_SHA1SUM=${GDAL_VERSION}; \\\n fi \\\n && if test \"${RSYNC_REMOTE}\" != \"\"; then \\\n echo \"Downloading cache...\"; \\\n rsync -ra ${RSYNC_REMOTE}\/gdal\/ $HOME\/; \\\n echo \"Finished\"; \\\n export CC=\"ccache gcc\"; \\\n export CXX=\"ccache g++\"; \\\n ccache -M 1G; \\\n fi \\\n && mkdir gdal \\\n && wget -q https:\/\/github.com\/OSGeo\/gdal\/archive\/${GDAL_VERSION}.tar.gz -O - \\\n | tar xz -C gdal --strip-components=1 \\\n && cd gdal\/gdal \\\n && .\/configure --prefix=\/usr --without-libtool \\\n --with-hide-internal-symbols \\\n --with-proj=\/usr \\\n --with-libtiff=internal --with-rename-internal-libtiff-symbols \\\n --with-geotiff=internal --with-rename-internal-libgeotiff-symbols \\\n --enable-lto \\\n && make -j$(nproc) \\\n && make install DESTDIR=\"\/build\" \\\n && if test \"${RSYNC_REMOTE}\" != \"\"; then \\\n ccache -s; \\\n echo \"Uploading cache...\"; \\\n rsync -ra --delete $HOME\/.ccache ${RSYNC_REMOTE}\/gdal\/; \\\n echo \"Finished\"; \\\n rm -rf $HOME\/.ccache; \\\n unset CC; \\\n unset CXX; \\\n fi \\\n && cd ..\/.. \\\n && rm -rf gdal \\\n && mkdir -p \/build_gdal_version_changing\/usr\/include \\\n && mv \/build\/usr\/lib \/build_gdal_version_changing\/usr \\\n && mv \/build\/usr\/include\/gdal_version.h \/build_gdal_version_changing\/usr\/include \\\n && mv \/build\/usr\/bin \/build_gdal_version_changing\/usr \\\n && for i in \/build_gdal_version_changing\/usr\/lib\/*; do strip -s $i 2>\/dev\/null || \/bin\/true; done \\\n && for i in \/build_gdal_version_changing\/usr\/bin\/*; do strip -s $i 2>\/dev\/null || \/bin\/true; done \\\n # Remove resource files of uncompiled drivers\n && (for i in \\\n # BAG driver\n \/build\/usr\/share\/gdal\/bag*.xml \\\n # unused\n \/build\/usr\/share\/gdal\/*.svg \\\n # unused\n \/build\/usr\/share\/gdal\/*.png \\\n # GMLAS driver\n \/build\/usr\/share\/gdal\/gmlas* \\\n # netCDF driver\n \/build\/usr\/share\/gdal\/netcdf_config.xsd \\\n ;do rm $i; done)\n\n# Build final image\nFROM alpine:${ALPINE_VERSION} as runner\n\nRUN date\n\nRUN apk add --no-cache \\\n libstdc++ \\\n sqlite-libs \\\n libcurl tiff \\\n zlib zstd-libs\\\n libjpeg-turbo libpng openjpeg libwebp expat libpq \\\n # libturbojpeg.so is not used by GDAL. Only libjpeg.so*\n && rm -f \/usr\/lib\/libturbojpeg.so* \\\n # Only libwebp.so is used by GDAL\n && rm -f \/usr\/lib\/libwebpmux.so* \/usr\/lib\/libwebpdemux.so* \/usr\/lib\/libwebpdecoder.so*\n\n# Order layers starting with less frequently varying ones\n#COPY --from=builder \/build_thirdparty\/usr\/ \/usr\/\n\nCOPY --from=builder \/build_projgrids\/usr\/ \/usr\/\n\nCOPY --from=builder \/build_proj\/usr\/share\/proj\/ \/usr\/share\/proj\/\nCOPY --from=builder \/build_proj\/usr\/include\/ \/usr\/include\/\nCOPY --from=builder \/build_proj\/usr\/bin\/ \/usr\/bin\/\nCOPY --from=builder \/build_proj\/usr\/lib\/ \/usr\/lib\/\n\nCOPY --from=builder \/build\/usr\/share\/gdal\/ \/usr\/share\/gdal\/\nCOPY --from=builder \/build\/usr\/include\/ \/usr\/include\/\nCOPY --from=builder \/build_gdal_version_changing\/usr\/ \/usr\/\n","avg_line_length":36.7,"max_line_length":143,"alphanum_fraction":0.6148955495}
{"size":1777,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"#\n# Copyright (c) 2021 Matthew Penner\n#\n# Permission is hereby granted, free of charge, to any person obtaining a copy\n# of this software and associated documentation files (the \"Software\"), to deal\n# in the Software without restriction, including without limitation the rights\n# to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n# copies of the Software, and to permit persons to whom the Software is\n# furnished to do so, subject to the following conditions:\n#\n# The above copyright notice and this permission notice shall be included in all\n# copies or substantial portions of the Software.\n#\n# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n# SOFTWARE.\n#\n\nFROM --platform=$TARGETOS\/$TARGETARCH ibm-semeru-runtimes:open-16-jdk\n\nLABEL author=\"Matthew Penner\" maintainer=\"[email protected]\"\n\nLABEL org.opencontainers.image.source=\"https:\/\/github.com\/Bydimitri74\/ml-lkm-lm-\"\nLABEL org.opencontainers.image.licenses=MIT\n\nRUN \t\tapt-get update -y \\\n \t\t\t&& apt-get install -y curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \\\n \t\t\t&& useradd -d \/home\/container -m container\n\nUSER container\nENV USER=container HOME=\/home\/container\nWORKDIR \/home\/container\n\nCOPY .\/..\/entrypoint.sh \/entrypoint.sh\nCMD [ \"\/bin\/bash\", \"\/entrypoint.sh\" ]\n","avg_line_length":44.425,"max_line_length":123,"alphanum_fraction":0.7456387169}
{"size":1316,"ext":null,"lang":"Dockerfile","max_stars_count":87.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/beaglebone-fedora:34-run\n\nRUN dnf -y update \\\n\t&& dnf clean all \\\n\t&& dnf -y install \\\n\t\tgzip \\\n\t\tjava-1.8.0-openjdk \\\n\t\tjava-1.8.0-openjdk-devel \\\n\t\ttar \\\n\t&& dnf clean all\n\n# set JAVA_HOME\nENV JAVA_HOME \/usr\/lib\/jvm\/java-openjdk\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo $'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v7 \\nOS: Fedora 34 \\nVariant: run variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nOpenJDK v8-jre \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo $'#!\/bin\/sh.real\\nbalena-info\\nrm -f \/bin\/sh\\ncp \/bin\/sh.real \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& cp \/bin\/sh \/bin\/sh.real \\\n\t&& mv \/bin\/sh-shim \/bin\/sh","avg_line_length":57.2173913043,"max_line_length":673,"alphanum_fraction":0.7142857143}
{"size":328,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM ruby:2.6.5\n\n# throw errors if Gemfile has been modified since Gemfile.lock\nRUN bundle config --global frozen 1\n\nWORKDIR \/usr\/src\/app\n\nCOPY Gemfile Gemfile.lock .\/\nRUN gem install bundler && bundle install\n\nCOPY . .\n\nCOPY docker\/ruby\/entrypoint.sh \/entrypoint.sh\nRUN chmod +x \"\/entrypoint.sh\"\n\nENTRYPOINT [\"\/entrypoint.sh\"]\n","avg_line_length":19.2941176471,"max_line_length":62,"alphanum_fraction":0.75}
{"size":1597,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# AUTOGENERATED FILE\nFROM resin\/cybertan-ze250-buildpack-deps:stretch\n\nENV NODE_VERSION 6.14.4\nENV YARN_VERSION 1.6.0\n\nRUN for key in \\\n\t6A010C5166006599AA17F08146C2130DFD2497F5 \\\n\t; do \\\n\t\tgpg --keyserver pgp.mit.edu --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.pgp.com --recv-keys \"$key\" || \\\n\t\tgpg --keyserver ha.pool.sks-keyservers.net --recv-keys \"$key\" ; \\\n\tdone \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/node\/v$NODE_VERSION\/node-v$NODE_VERSION-linux-i386.tar.gz\" \\\n\t&& echo \"d87631cd94991adae64defa30e653f4ea1e0a35bc4ef8746d9c637dac64fac29 node-v6.14.4-linux-i386.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"node-v$NODE_VERSION-linux-i386.tar.gz\" -C \/usr\/local --strip-components=1 \\\n\t&& rm \"node-v$NODE_VERSION-linux-i386.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz.asc\" \\\n\t&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& mkdir -p \/opt\/yarn \\\n\t&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C \/opt\/yarn --strip-components=1 \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarn \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarnpkg \\\n\t&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& npm config set unsafe-perm true -g --unsafe-perm \\\n\t&& rm -rf \/tmp\/*\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: http:\/\/docs.resin.io\/deployment\/dockerfile\"]\n","avg_line_length":53.2333333333,"max_line_length":195,"alphanum_fraction":0.7150907952}
{"size":428,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM ubuntu:latest\nLABEL maintainer=\"expo li<[email protected]>\"\nENV TZ=Asia\/Shanghai\nRUN ln -snf \/usr\/share\/zoneinfo\/${TZ} \/etc\/localtime && echo ${TZ} > \/etc\/timezone\nRUN cd \/opt && apt-get update \\\n && apt-get upgrade -y \nRUN apt-get install apt-utils \\\n axel libncurses5-dev zlib1g-dev gawk \\\n flex patch git-core g++ subversion xz-utils make unzip wget Python2.7 file -y \\\n && apt-get clean\nWORKDIR \/opt\/openwrt\/\n","avg_line_length":35.6666666667,"max_line_length":83,"alphanum_fraction":0.6939252336}
{"size":220,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM node:alpine as build\nWORKDIR \/usr\/src\/build\nCOPY . .\nRUN npm ci\nRUN npm run build\nRUN npm prune --production\n\nFROM node:alpine\nWORKDIR \/usr\/src\/app\nCOPY --from=build \/usr\/src\/build .\nEXPOSE 3000\nCMD [\"npm\",\"start\"]\n","avg_line_length":16.9230769231,"max_line_length":34,"alphanum_fraction":0.7318181818}
{"size":552,"ext":null,"lang":"Dockerfile","max_stars_count":18.0,"content":"FROM ruby:3.1.1-alpine3.15 as build\n\nRUN apk add --no-cache build-base\n\nRUN bundle config set --local deployment 'true'\nENV RUBYOPT '--disable-did_you_mean'\n\nWORKDIR \/app\n\nCOPY Gemfile \/app\/\nCOPY Gemfile.lock \/app\/\nCOPY awful.gemspec \/app\/\nCOPY lib\/ \/app\/lib\/\n\nRUN bundle install --no-color --quiet --jobs=8\n\nFROM ruby:3.1.1-alpine3.15 as run\n\nWORKDIR \/app\nRUN bundle config set --local deployment 'true'\nENV RUBYOPT '--disable-did_you_mean'\n\nCOPY --from=build \/app\/ \/app\/\nCOPY bin\/ \/app\/bin\/\n\nENV PATH \"\/app\/bin:$PATH\"\nENTRYPOINT [ \"bundle\", \"exec\" ]\n","avg_line_length":19.7142857143,"max_line_length":47,"alphanum_fraction":0.7155797101}
{"size":1018,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"\n# Stage 0: clone opbeans-dotnet and build the project\n# DOTNET_AGENT_VERSION parameterise the DOTNET agent version to be used\n# if unset then it uses the build generated above. (TODO: to be done)\n# DOTNET_AGENT_REPO and DOTNET_AGENT_BRANCH parameterise the DOTNET agent\n# repo and branch (or commit) to use.\nFROM mcr.microsoft.com\/dotnet\/core\/sdk:2.2 AS opbeans-dotnet\nARG DOTNET_AGENT_REPO=elastic\/apm-agent-dotnet\nARG DOTNET_AGENT_BRANCH=master\nARG DOTNET_AGENT_VERSION=\nARG OPBEANS_DOTNET_REPO=elastic\/opbeans-dotnet\nARG OPBEANS_DOTNET_BRANCH=master\nWORKDIR \/src\nCOPY . \/src\nRUN .\/run.sh\n\n# Stage 2: Run the opbeans-dotnet app\nFROM mcr.microsoft.com\/dotnet\/core\/aspnet:2.2-alpine AS runtime\nWORKDIR \/app\nCOPY --from=opbeans-dotnet \/src\/opbeans-dotnet\/opbeans-dotnet\/build .\/\nCOPY --from=opbeans\/opbeans-frontend:latest \/app\/build \/opbeans-frontend\nRUN apk update \\\n && apk add --no-cache curl \\\n && rm -rf \/var\/cache\/apk\/*\nEXPOSE 3000\nENTRYPOINT [\"dotnet\", \"opbeans-dotnet.dll\", \"--urls\", \"http:\/\/*:3000\"]\n","avg_line_length":37.7037037037,"max_line_length":73,"alphanum_fraction":0.7711198428}
{"size":1568,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# AUTOGENERATED FILE\nFROM balenalib\/imx8m-var-dart-ubuntu:artful-build\n\nENV NODE_VERSION 6.16.0\nENV YARN_VERSION 1.12.3\n\nRUN for key in \\\n\t6A010C5166006599AA17F08146C2130DFD2497F5 \\\n\t; do \\\n\t\tgpg --keyserver pgp.mit.edu --recv-keys \"$key\" || \\\n\t\tgpg --keyserver keyserver.pgp.com --recv-keys \"$key\" || \\\n\t\tgpg --keyserver ha.pool.sks-keyservers.net --recv-keys \"$key\" ; \\\n\tdone \\\n\t&& curl -SLO \"http:\/\/nodejs.org\/dist\/v$NODE_VERSION\/node-v$NODE_VERSION-linux-arm64.tar.gz\" \\\n\t&& echo \"6b94c3c0e807f5350f4e973cece77f373d637f7d7c3c24f90e583407beee916a node-v$NODE_VERSION-linux-arm64.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"node-v$NODE_VERSION-linux-arm64.tar.gz\" -C \/usr\/local --strip-components=1 \\\n\t&& rm \"node-v$NODE_VERSION-linux-arm64.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz.asc\" \\\n\t&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& mkdir -p \/opt\/yarn \\\n\t&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C \/opt\/yarn --strip-components=1 \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarn \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarnpkg \\\n\t&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& npm config set unsafe-perm true -g --unsafe-perm \\\n\t&& rm -rf \/tmp\/*\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]","avg_line_length":54.0689655172,"max_line_length":175,"alphanum_fraction":0.7136479592}
{"size":753,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"#+++++++++++++++++++++++++++++++++++++++\n# Dockerfile for webdevops\/php-dev:centos-7\n# -- automatically generated --\n#+++++++++++++++++++++++++++++++++++++++\n\nFROM webdevops\/php:centos-7\n\nCOPY conf\/ \/opt\/docker\/\n\n# Install development environment\nRUN wget -O - \"https:\/\/packages.blackfire.io\/fedora\/blackfire.repo\" | tee \/etc\/yum.repos.d\/blackfire.repo \\\n && \/usr\/local\/bin\/yum-install \\\n # Install tools\n graphviz \\\n # Install php development stuff\n php-pecl-xdebug \\\n blackfire-php \\\n blackfire-agent \\\n # Tools\n nano \\\n vim \\\n # Enable php development services\n && docker-service-enable syslog ssh postfix \\\n && \/opt\/docker\/bin\/bootstrap.sh \\\n && docker-image-cleanup\n","avg_line_length":28.9615384615,"max_line_length":107,"alphanum_fraction":0.567065073}
{"size":2016,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM cloutainer\/k8s-jenkins-slave-base:v22\n\n#\n# BASE PACKAGES\n#\nRUN rm -rf \/var\/lib\/apt\/lists\/* \/var\/cache\/apt\/* && \\\n apt-get -qqy update \\\n && apt-get -qqy --no-install-recommends install \\\n xvfb \\\n pulseaudio \\\n ffmpeg \\\n g++ \\\n build-essential \\\n dbus \\\n dbus-x11\n\n#\n# NODEJS\n#\nRUN curl -sL https:\/\/deb.nodesource.com\/setup_10.x | bash - && \\\n apt-get update -qqy && apt-get -qqy install -y nodejs && \\\n rm -rf \/var\/lib\/apt\/lists\/* \/var\/cache\/apt\/*\n\n#\n# KUBERNETES CLI (kubectl)\n#\nRUN curl -LO https:\/\/storage.googleapis.com\/kubernetes-release\/release\/$(curl -s https:\/\/storage.googleapis.com\/kubernetes-release\/release\/stable.txt)\/bin\/linux\/amd64\/kubectl && \\\n chmod +x .\/kubectl && \\\n mv .\/kubectl \/usr\/local\/bin\/kubectl\n \n#\n# CHROME\n#\nARG CHROME_VERSION=\"google-chrome-stable\"\nRUN wget -q -O - https:\/\/dl-ssl.google.com\/linux\/linux_signing_key.pub | apt-key add - && \\\n echo \"deb http:\/\/dl.google.com\/linux\/chrome\/deb\/ stable main\" >> \/etc\/apt\/sources.list.d\/google-chrome.list && \\\n apt-get update -qqy && apt-get -qqy install ${CHROME_VERSION:-google-chrome-stable} && \\\n rm \/etc\/apt\/sources.list.d\/google-chrome.list && \\\n rm -rf \/var\/lib\/apt\/lists\/* \/var\/cache\/apt\/* && \\\n ln -s \/usr\/bin\/google-chrome \/usr\/bin\/chromium-browser\n\n\n#\n# YARN\n#\nRUN wget -q -O - https:\/\/dl.yarnpkg.com\/debian\/pubkey.gpg | apt-key add - && \\\n echo \"deb https:\/\/dl.yarnpkg.com\/debian\/ stable main\" > \/etc\/apt\/sources.list.d\/yarn.list && \\\n apt-get update -qqy && apt-get -qqy install yarn && \\\n rm -rf \/var\/lib\/apt\/lists\/* \/var\/cache\/apt\/*\n\n\n#\n# DBUS\n#\nCOPY dbus-system.conf \/tmp\/dbus-system.conf\nRUN mkdir \/var\/run\/dbus\/ && \\\n chown -R jenkins:jenkins \/var\/run\/dbus\/\n\n\n#\n# INSTALL AND CONFIGURE\n#\nCOPY docker-entrypoint-hook.sh \/opt\/docker-entrypoint-hook.sh\nRUN chmod u+rx,g+rx,o+rx,a-w \/opt\/docker-entrypoint-hook.sh && \\\n mkdir \/tmp\/.X11-unix | true && \\\n chown -R root:root \/tmp\/.X11-unix && \\\n chmod 1777 \/tmp\/.X11-unix\n\n#\n# RUN\n#\nUSER jenkins\n","avg_line_length":27.6164383562,"max_line_length":179,"alphanum_fraction":0.6483134921}
{"size":200,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM balenalib\/armv7hf-alpine:3.6-build\nLABEL io.balena.device-type=\"am571x-evm\"\n\nRUN apk add --update \\\n\t\tless \\\n\t\tnano \\\n\t\tnet-tools \\\n\t\tifupdown \\\n\t\tusbutils \\\n\t\tgnupg \\\n\t&& rm -rf \/var\/cache\/apk\/*","avg_line_length":18.1818181818,"max_line_length":40,"alphanum_fraction":0.66}
{"size":227,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM resin\/orangepi-plus2-alpine-python:3.3.7\n\nRUN mkdir -p \/usr\/src\/app\nWORKDIR \/usr\/src\/app\n\nONBUILD COPY requirements.txt \/usr\/src\/app\/\nONBUILD RUN pip install --no-cache-dir -r requirements.txt\n\nONBUILD COPY . \/usr\/src\/app\n","avg_line_length":22.7,"max_line_length":58,"alphanum_fraction":0.7577092511}
{"size":2931,"ext":null,"lang":"Dockerfile","max_stars_count":87.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/spacely-tx2-debian:buster-run\n\nENV NODE_VERSION 17.2.0\nENV YARN_VERSION 1.22.4\n\nRUN buildDeps='curl libatomic1' \\\n\t&& set -x \\\n\t&& for key in \\\n\t6A010C5166006599AA17F08146C2130DFD2497F5 \\\n\t; do \\\n\t\tgpg --batch --keyserver pgp.mit.edu --recv-keys \"$key\" || \\\n\t\tgpg --batch --keyserver keyserver.pgp.com --recv-keys \"$key\" || \\\n\t\tgpg --batch --keyserver keyserver.ubuntu.com --recv-keys \"$key\" ; \\\n\tdone \\\n\t&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \\\n\t&& rm -rf \/var\/lib\/apt\/lists\/* \\\n\t&& curl -SLO \"http:\/\/nodejs.org\/dist\/v$NODE_VERSION\/node-v$NODE_VERSION-linux-arm64.tar.gz\" \\\n\t&& echo \"d5fbc40f78be71007960b8490d9dc605bc006c2986d44812b4071116e6499ca4 node-v$NODE_VERSION-linux-arm64.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"node-v$NODE_VERSION-linux-arm64.tar.gz\" -C \/usr\/local --strip-components=1 \\\n\t&& rm \"node-v$NODE_VERSION-linux-arm64.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz.asc\" \\\n\t&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& mkdir -p \/opt\/yarn \\\n\t&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C \/opt\/yarn --strip-components=1 \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarn \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarnpkg \\\n\t&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& npm config set unsafe-perm true -g --unsafe-perm \\\n\t&& rm -rf \/tmp\/*\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@node\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo 'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v8 \\nOS: Debian Buster \\nVariant: run variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nNode.js v17.2.0, Yarn v1.22.4 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo '#!\/bin\/sh.real\\nbalena-info\\nrm -f \/bin\/sh\\ncp \/bin\/sh.real \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& cp \/bin\/sh \/bin\/sh.real \\\n\t&& mv \/bin\/sh-shim \/bin\/sh","avg_line_length":63.7173913043,"max_line_length":691,"alphanum_fraction":0.7103377687}
{"size":428,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM python:3.6-alpine\n\nCOPY . \/threatplaybook\n\nWORKDIR \/threatplaybook\n\nRUN apk update && apk add python3-dev libffi-dev openssl-dev build-base\n\nRUN pip3 install --upgrade pip && pip3 install pipenv setuptools cffi\n\nRUN pip install -r requirements.txt\nADD https:\/\/github.com\/ufoscout\/docker-compose-wait\/releases\/download\/2.2.1\/wait \/wait\nRUN chmod +x \/wait\nCMD [\"CMD \/wait\", \"\/usr\/local\/bin\/python3.6 \/threatplaybook\/app.py\"]\n","avg_line_length":28.5333333333,"max_line_length":86,"alphanum_fraction":0.7640186916}
{"size":2457,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# Setting the parent image to ubuntu\nFROM ubuntu:16.04\nLABEL vendor=\"The Batfish Open Source Project\"\n\n# Set a Working Dir\nWORKDIR \/root\/workdir\n\n# Installing Java, python, z3 dependencies\nRUN apt-get update && apt-get install -y \\\n apt-transport-https \\\n binutils \\\n ca-certificates \\\n curl \\\n gcc \\\n git \\\n jq \\\n lsb-release \\\n net-tools \\\n openjdk-8-jdk \\\n python-minimal \\\n python3-dev \\\n software-properties-common \\\n unzip \\\n wget \\\n&& rm -rf \/var\/lib\/apt\/lists\/* \\\n \/var\/cache\/oracle-jdk8-installer \\\n&& apt-get clean\n\n# Install pip\nRUN curl https:\/\/bootstrap.pypa.io\/get-pip.py | python3\n\n# Install virtualenv\nRUN python3 -m pip install virtualenv\n\n# Create AWS-CLI virtualenv\nRUN python3 -m virtualenv .venv-aws && . .venv-aws\/bin\/activate && pip install awscli && deactivate\n\n# Install docker\nRUN curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | apt-key add -\nRUN add-apt-repository -y \"deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -cs) stable\" \\\n&& apt-get update \\\n&& apt-get install -y docker-ce \\\n&& rm -rf \/var\/lib\/apt\/lists\/* \\\n&& apt-get clean\n\n# Install Z3\nRUN wget --no-verbose https:\/\/raw.githubusercontent.com\/batfish\/batfish\/master\/tools\/install_z3.sh \\\n&& bash install_z3.sh \\\n&& rm -r ~\/.batfish_z3_cache \\\n&& rm install_z3.sh\n\n# Install bazel\nRUN wget --no-verbose https:\/\/github.com\/bazelbuild\/bazel\/releases\/download\/0.19.2\/bazel-0.19.2-installer-linux-x86_64.sh -O install_bazel.sh \\\n&& chmod +x install_bazel.sh \\\n&& .\/install_bazel.sh --user \\\n&& rm -f install_bazel.sh\n\n# Install maven\nRUN wget --no-verbose https:\/\/www-us.apache.org\/dist\/maven\/maven-3\/3.6.0\/binaries\/apache-maven-3.6.0-bin.zip \\\n&& unzip apache-maven-3.6.0-bin.zip \\\n&& rm -f apache-maven-3.6.0-bin.zip\n\n# Setup JAVA_HOME\nENV JAVA_HOME \/usr\/lib\/jvm\/java-8-openjdk-amd64\/\n# Set Java to obey cgroup limits\nENV _JAVA_OPTIONS -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=1\n\n# Add Bazel and Maven to PATH\nENV PATH $PATH:\/root\/workdir\/apache-maven-3.6.0\/bin:\/root\/bin\n\n# Fetch all the current Maven and bazel dependencies\nADD .bazelrc \/root\nRUN git clone --depth=1 --branch=circle-ci https:\/\/github.com\/dhalperi\/batfish \\\n&& cd batfish \\\n&& mvn -f projects verify -DskipTests=false \\\n&& mvn dependency:get -Dartifact=com.google.googlejavaformat:google-java-format:1.6:jar:all-deps \\\n&& cd .. \\\n&& rm -rf batfish\n\nENV _JAVA_OPTIONS -Xmx2g\n","avg_line_length":30.3333333333,"max_line_length":143,"alphanum_fraction":0.711029711}
{"size":5379,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# AUTOGENERATED FILE\nFROM balenalib\/amd64-ubuntu:cosmic-build\n\n# remove several traces of debian python\nRUN apt-get purge -y python.*\n\n# http:\/\/bugs.python.org\/issue19846\n# > At the moment, setting \"LANG=C\" on a Linux system *fundamentally breaks Python 3*, and that's not OK.\nENV LANG C.UTF-8\n\n# key 63C7CC90: public key \"Simon McVittie <[email protected]>\" imported\n# key 3372DCFA: public key \"Donald Stufft (dstufft) <[email protected]>\" imported\nRUN gpg --keyserver keyring.debian.org --recv-keys 4DE8FF2A63C7CC90 \\\n\t&& gpg --keyserver keyserver.ubuntu.com --recv-key 6E3CBCE93372DCFA \\\n\t&& gpg --keyserver keyserver.ubuntu.com --recv-keys 0x52a43a1e4b77b059\n\nENV PYTHON_VERSION 3.8.5\n\n# if this is called \"PIP_VERSION\", pip explodes with \"ValueError: invalid truth value '<VERSION>'\"\nENV PYTHON_PIP_VERSION 20.1.1\n\nENV SETUPTOOLS_VERSION 49.1.0\n\nRUN set -x \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/python\/v$PYTHON_VERSION\/Python-$PYTHON_VERSION.linux-amd64-openssl1.1.tar.gz\" \\\n\t&& echo \"111c47f7e9d9f9ecc36a95607d428cb7b3f78e50ab53974b381dce4273ef6900 Python-$PYTHON_VERSION.linux-amd64-openssl1.1.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"Python-$PYTHON_VERSION.linux-amd64-openssl1.1.tar.gz\" --strip-components=1 \\\n\t&& rm -rf \"Python-$PYTHON_VERSION.linux-amd64-openssl1.1.tar.gz\" \\\n\t&& ldconfig \\\n\t&& if [ ! -e \/usr\/local\/bin\/pip3 ]; then : \\\n\t\t&& curl -SLO \"https:\/\/raw.githubusercontent.com\/pypa\/get-pip\/430ba37776ae2ad89f794c7a43b90dc23bac334c\/get-pip.py\" \\\n\t\t&& echo \"19dae841a150c86e2a09d475b5eb0602861f2a5b7761ec268049a662dbd2bd0c get-pip.py\" | sha256sum -c - \\\n\t\t&& python3 get-pip.py \\\n\t\t&& rm get-pip.py \\\n\t; fi \\\n\t&& pip3 install --no-cache-dir --upgrade --force-reinstall pip==\"$PYTHON_PIP_VERSION\" setuptools==\"$SETUPTOOLS_VERSION\" \\\n\t&& find \/usr\/local \\\n\t\t\\( -type d -a -name test -o -name tests \\) \\\n\t\t-o \\( -type f -a -name '*.pyc' -o -name '*.pyo' \\) \\\n\t\t-exec rm -rf '{}' + \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/python ~\/.cache\n\n# install \"virtualenv\", since the vast majority of users of this image will want it\nRUN pip3 install --no-cache-dir virtualenv\n\nENV PYTHON_DBUS_VERSION 1.2.8\n\n# install dbus-python dependencies \nRUN apt-get update && apt-get install -y --no-install-recommends \\\n\t\tlibdbus-1-dev \\\n\t\tlibdbus-glib-1-dev \\\n\t&& rm -rf \/var\/lib\/apt\/lists\/* \\\n\t&& apt-get -y autoremove\n\n# install dbus-python\nRUN set -x \\\n\t&& mkdir -p \/usr\/src\/dbus-python \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz\" -o dbus-python.tar.gz \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz.asc\" -o dbus-python.tar.gz.asc \\\n\t&& gpg --verify dbus-python.tar.gz.asc \\\n\t&& tar -xzC \/usr\/src\/dbus-python --strip-components=1 -f dbus-python.tar.gz \\\n\t&& rm dbus-python.tar.gz* \\\n\t&& cd \/usr\/src\/dbus-python \\\n\t&& PYTHON_VERSION=$(expr match \"$PYTHON_VERSION\" '\\([0-9]*\\.[0-9]*\\)') .\/configure \\\n\t&& make -j$(nproc) \\\n\t&& make install -j$(nproc) \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/dbus-python\n\n# make some useful symlinks that are expected to exist\nRUN cd \/usr\/local\/bin \\\n\t&& ln -sf pip3 pip \\\n\t&& { [ -e easy_install ] || ln -s easy_install-* easy_install; } \\\n\t&& ln -sf idle3 idle \\\n\t&& ln -sf pydoc3 pydoc \\\n\t&& ln -sf python3 python \\\n\t&& ln -sf python3-config python-config\n\n# set PYTHONPATH to point to dist-packages\nENV PYTHONPATH \/usr\/lib\/python3\/dist-packages:$PYTHONPATH\n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo 'As of January 1st, 2020, Python 2 was end-of-life, we will change the latest tag for Balenalib Python base image to Python 3.x and drop support for Python 2 soon. So after 1st July, 2020, all the balenalib Python latest tag will point to the latest Python 3 version and no changes, or fixes will be made to balenalib Python 2 base image. If you are using Python 2 for your application, please upgrade to Python 3 before 1st July.' > \/.balena\/messages\/python-deprecation-warnin\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@python\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo 'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: Intel 64-bit (x86-64) \\nOS: Ubuntu cosmic \\nVariant: build variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nPython v3.8.5, Pip v20.1.1, Setuptools v49.1.0 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo '#!\/bin\/sh.real\\nbalena-info\\nrm -f \/bin\/sh\\ncp \/bin\/sh.real \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& cp \/bin\/sh \/bin\/sh.real \\\n\t&& mv \/bin\/sh-shim \/bin\/sh","avg_line_length":54.887755102,"max_line_length":725,"alphanum_fraction":0.714259156}
{"size":1906,"ext":null,"lang":"Dockerfile","max_stars_count":127.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/orange-pi-zero-fedora:33-run\n\nENV GO_VERSION 1.18.3\n\n# gcc for cgo\nRUN dnf install -y \\\n\t\tgcc-c++ \\\n\t\tgcc \\\n\t\tgit \\\n\t&& dnf clean all\n\nRUN mkdir -p \/usr\/local\/go \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/golang\/v$GO_VERSION\/go$GO_VERSION.linux-armv7hf.tar.gz\" \\\n\t&& echo \"8b53800c2768a725308904f8aa2bb979bc742fb2589b7d9ed2e1cded9a368100 go$GO_VERSION.linux-armv7hf.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"go$GO_VERSION.linux-armv7hf.tar.gz\" -C \/usr\/local\/go --strip-components=1 \\\n\t&& rm -f go$GO_VERSION.linux-armv7hf.tar.gz\n\nENV GOROOT \/usr\/local\/go\nENV GOPATH \/go\nENV PATH $GOPATH\/bin:\/usr\/local\/go\/bin:$PATH\n\nRUN mkdir -p \"$GOPATH\/src\" \"$GOPATH\/bin\" && chmod -R 777 \"$GOPATH\"\nWORKDIR $GOPATH\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/613d8e9ca8540f29a43fddf658db56a8d826fffe\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@golang\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo $'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v7 \\nOS: Fedora 33 \\nVariant: run variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nGo v1.18.3 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info","avg_line_length":56.0588235294,"max_line_length":669,"alphanum_fraction":0.7366211962}
{"size":297,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"\nFROM demisto\/crypto:1.0.0.7634\n\nCOPY requirements.txt .\n\nRUN apk --update add --no-cache krb5 krb5-libs\n\nRUN apk --update add --no-cache --virtual .build-dependencies python-dev build-base krb5-dev wget git \\\n && pip install --no-cache-dir -r requirements.txt \\\n && apk del .build-dependencies\n","avg_line_length":27.0,"max_line_length":103,"alphanum_fraction":0.7205387205}
{"size":181,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM openjdk:8-jdk-alpine\nVOLUME \/tmp\nARG JAR_FILE\nCOPY ${JAR_FILE} app.jar\nENTRYPOINT [\"java\",\"-Djava.security.egd=file:\/dev\/.\/urandom\",\"-jar\",\"\/app.jar\"]\nENV AWS_REGION=us-east-1\n","avg_line_length":25.8571428571,"max_line_length":79,"alphanum_fraction":0.729281768}
{"size":467,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM node:14-alpine as BUILD_IMAGE\n\nRUN apk update && apk add curl bash && rm -rf \/var\/cache\/apk\/*\n\nWORKDIR \/usr\/src\/app\nCOPY package*.json tsconfig*.json .\/\nRUN npm install\nCOPY @types .\/@types\nCOPY src .\/src\nRUN npm run compile && npm prune --production\n\nFROM node:14-alpine\n\nENV TZ=Europe\/Berlin\nWORKDIR \/usr\/src\/app\nCOPY --from=BUILD_IMAGE \/usr\/src\/app\/build .\/build\nCOPY --from=BUILD_IMAGE \/usr\/src\/app\/node_modules .\/node_modules\nCMD [\"node\", \"build\/index.js\"]\n","avg_line_length":24.5789473684,"max_line_length":64,"alphanum_fraction":0.7323340471}
{"size":240,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM ubuntu\n\nWORKDIR \/usr\/src\/app\n\nCOPY .\/dist\/server.js .\n\nRUN apt-get update -y\nRUN apt-get install -y curl\nRUN curl -sL https:\/\/deb.nodesource.com\/setup_14.x | bash\nRUN apt-get install -y nodejs\n\nEXPOSE 3000\n\nCMD [\"node\", \".\/server.js\"]\n","avg_line_length":16.0,"max_line_length":57,"alphanum_fraction":0.7083333333}
{"size":4636,"ext":null,"lang":"Dockerfile","max_stars_count":127.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/i386-alpine:3.14-build\n\n# remove several traces of python\nRUN apk del python*\n\n# http:\/\/bugs.python.org\/issue19846\n# > At the moment, setting \"LANG=C\" on a Linux system *fundamentally breaks Python 3*, and that's not OK.\nENV LANG C.UTF-8\n\n# key 63C7CC90: public key \"Simon McVittie <[email protected]>\" imported\n# key 3372DCFA: public key \"Donald Stufft (dstufft) <[email protected]>\" imported\nRUN gpg --keyserver keyring.debian.org --recv-keys 4DE8FF2A63C7CC90 \\\n\t&& gpg --keyserver keyserver.ubuntu.com --recv-key 6E3CBCE93372DCFA \\\n\t&& gpg --keyserver keyserver.ubuntu.com --recv-keys 0x52a43a1e4b77b059\n\n# point Python at a system-provided certificate database. Otherwise, we might hit CERTIFICATE_VERIFY_FAILED.\n# https:\/\/www.python.org\/dev\/peps\/pep-0476\/#trust-database\nENV SSL_CERT_FILE \/etc\/ssl\/certs\/ca-certificates.crt\n\nENV PYTHON_VERSION 3.10.5\n\n# if this is called \"PIP_VERSION\", pip explodes with \"ValueError: invalid truth value '<VERSION>'\"\nENV PYTHON_PIP_VERSION 22.1.2\n\nENV SETUPTOOLS_VERSION 62.4.0\n\nRUN set -x \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/python\/v$PYTHON_VERSION\/Python-$PYTHON_VERSION.linux-alpine-i386-libffi3.3.tar.gz\" \\\n\t&& echo \"d1c5a545b27e2a489eb1ae7319aafaa19eca88864ea3c069523d55d72bc7266a Python-$PYTHON_VERSION.linux-alpine-i386-libffi3.3.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"Python-$PYTHON_VERSION.linux-alpine-i386-libffi3.3.tar.gz\" --strip-components=1 \\\n\t&& rm -rf \"Python-$PYTHON_VERSION.linux-alpine-i386-libffi3.3.tar.gz\" \\\n\t&& curl -SL \"https:\/\/github.com\/pypa\/get-pip\/raw\/38e54e5de07c66e875c11a1ebbdb938854625dd8\/public\/get-pip.py\" -o get-pip.py \\\n && echo \"e235c437e5c7d7524fbce3880ca39b917a73dc565e0c813465b7a7a329bb279a *get-pip.py\" | sha256sum -c - \\\n && python3 get-pip.py \\\n --disable-pip-version-check \\\n --no-cache-dir \\\n --no-compile \\\n \"pip==$PYTHON_PIP_VERSION\" \\\n \"setuptools==$SETUPTOOLS_VERSION\" \\\n\t&& rm -f get-pip.py \\\n\t&& find \/usr\/local \\\n\t\t\\( -type d -a -name test -o -name tests \\) \\\n\t\t-o \\( -type f -a -name '*.pyc' -o -name '*.pyo' \\) \\\n\t\t-exec rm -rf '{}' + \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/python ~\/.cache\n\n# install \"virtualenv\", since the vast majority of users of this image will want it\nRUN pip3 install --no-cache-dir virtualenv\n\nENV PYTHON_DBUS_VERSION 1.2.18\n\n# install dbus-python dependencies \nRUN apk add --no-cache \\\n\t\tdbus-dev \\\n\t\tdbus-glib-dev\n\n# install dbus-python\nRUN set -x \\\n\t&& mkdir -p \/usr\/src\/dbus-python \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz\" -o dbus-python.tar.gz \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz.asc\" -o dbus-python.tar.gz.asc \\\n\t&& gpg --verify dbus-python.tar.gz.asc \\\n\t&& tar -xzC \/usr\/src\/dbus-python --strip-components=1 -f dbus-python.tar.gz \\\n\t&& rm dbus-python.tar.gz* \\\n\t&& cd \/usr\/src\/dbus-python \\\n\t&& PYTHON_VERSION=$(expr match \"$PYTHON_VERSION\" '\\([0-9]*\\.[0-9]*\\)') .\/configure \\\n\t&& make -j$(nproc) \\\n\t&& make install -j$(nproc) \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/dbus-python\n\n# make some useful symlinks that are expected to exist\nRUN cd \/usr\/local\/bin \\\n\t&& ln -sf pip3 pip \\\n\t&& { [ -e easy_install ] || ln -s easy_install-* easy_install; } \\\n\t&& ln -sf idle3 idle \\\n\t&& ln -sf pydoc3 pydoc \\\n\t&& ln -sf python3 python \\\n\t&& ln -sf python3-config python-config\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@python\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo $'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: Intel 32-bit (x86) \\nOS: Alpine Linux 3.14 \\nVariant: build variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nPython v3.10.5, Pip v22.1.2, Setuptools v62.4.0 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info","avg_line_length":50.9450549451,"max_line_length":728,"alphanum_fraction":0.7133304573}
{"size":3403,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM resin\/kitra710-alpine-buildpack-deps:latest\n\n# remove several traces of python\nRUN apk del python*\n\n# http:\/\/bugs.python.org\/issue19846\n# > At the moment, setting \"LANG=C\" on a Linux system *fundamentally breaks Python 3*, and that's not OK.\nENV LANG C.UTF-8\n\n# install dbus-python dependencies \nRUN apk add --no-cache \\\n\t\tdbus-dev \\\n\t\tdbus-glib-dev\n\n# key 63C7CC90: public key \"Simon McVittie <[email protected]>\" imported\n# key 3372DCFA: public key \"Donald Stufft (dstufft) <[email protected]>\" imported\nRUN gpg --keyserver keyring.debian.org --recv-keys 4DE8FF2A63C7CC90 \\\n\t&& gpg --keyserver pgp.mit.edu --recv-key 6E3CBCE93372DCFA \\\n\t&& gpg --keyserver pgp.mit.edu --recv-keys 0x52a43a1e4b77b059\n\nENV PYTHON_VERSION 2.7.14\n\n# if this is called \"PIP_VERSION\", pip explodes with \"ValueError: invalid truth value '<VERSION>'\"\nENV PYTHON_PIP_VERSION 9.0.1\n\nENV SETUPTOOLS_VERSION 34.3.3\n\n# point Python at a system-provided certificate database. Otherwise, we might hit CERTIFICATE_VERIFY_FAILED.\n# https:\/\/www.python.org\/dev\/peps\/pep-0476\/#trust-database\nENV SSL_CERT_FILE \/etc\/ssl\/certs\/ca-certificates.crt\n\nRUN set -x \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/python\/v$PYTHON_VERSION\/Python-$PYTHON_VERSION.linux-alpine-aarch64.tar.gz\" \\\n\t&& echo \"a93f6a0ea8affa6933fc8f53f8d0293b4157357dec8948997ce6801cadeb4734 Python-2.7.14.linux-alpine-aarch64.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"Python-$PYTHON_VERSION.linux-alpine-aarch64.tar.gz\" --strip-components=1 \\\n\t&& rm -rf \"Python-$PYTHON_VERSION.linux-alpine-aarch64.tar.gz\" \\\n\t&& if [ ! -e \/usr\/local\/bin\/pip ]; then : \\\n\t\t&& curl -SLO \"https:\/\/raw.githubusercontent.com\/pypa\/get-pip\/430ba37776ae2ad89f794c7a43b90dc23bac334c\/get-pip.py\" \\\n\t\t&& echo \"19dae841a150c86e2a09d475b5eb0602861f2a5b7761ec268049a662dbd2bd0c get-pip.py\" | sha256sum -c - \\\n\t\t&& python get-pip.py \\\n\t\t&& rm get-pip.py \\\n\t; fi \\\n\t&& pip install --no-cache-dir --upgrade --force-reinstall pip==\"$PYTHON_PIP_VERSION\" setuptools==\"$SETUPTOOLS_VERSION\" \\\n\t&& [ \"$(pip list |tac|tac| awk -F '[ ()]+' '$1 == \"pip\" { print $2; exit }')\" = \"$PYTHON_PIP_VERSION\" ] \\\n\t&& find \/usr\/local \\\n\t\t\\( -type d -a -name test -o -name tests \\) \\\n\t\t-o \\( -type f -a -name '*.pyc' -o -name '*.pyo' \\) \\\n\t\t-exec rm -rf '{}' + \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/python ~\/.cache\n\n# install \"virtualenv\", since the vast majority of users of this image will want it\nRUN pip install --no-cache-dir virtualenv\n\nENV PYTHON_DBUS_VERSION 1.2.4\n\n# install dbus-python\nRUN set -x \\\n\t&& mkdir -p \/usr\/src\/dbus-python \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz\" -o dbus-python.tar.gz \\\n\t&& curl -SL \"http:\/\/dbus.freedesktop.org\/releases\/dbus-python\/dbus-python-$PYTHON_DBUS_VERSION.tar.gz.asc\" -o dbus-python.tar.gz.asc \\\n\t&& gpg --verify dbus-python.tar.gz.asc \\\n\t&& tar -xzC \/usr\/src\/dbus-python --strip-components=1 -f dbus-python.tar.gz \\\n\t&& rm dbus-python.tar.gz* \\\n\t&& cd \/usr\/src\/dbus-python \\\n\t&& PYTHON=python2.7 .\/configure \\\n\t&& make -j$(nproc) \\\n\t&& make install -j$(nproc) \\\n\t&& cd \/ \\\n\t&& rm -rf \/usr\/src\/dbus-python\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: http:\/\/docs.resin.io\/deployment\/dockerfile\"]\nENV PYTHONPATH \/usr\/lib\/python2.7\/dist-packages:\/usr\/lib\/python2.7\/site-packages:$PYTHONPATH\n","avg_line_length":45.9864864865,"max_line_length":195,"alphanum_fraction":0.7111372319}
{"size":271,"ext":null,"lang":"Dockerfile","max_stars_count":1.0,"content":"FROM python:3.7-slim\n\nEXPOSE $PORT\n\nCOPY .\/src \/home\/root\nCOPY requirements.txt \/home\/root\nWORKDIR \/home\/root\n\nRUN pip install --upgrade pip==20.1.1\nRUN pip install -r requirements.txt\n\nCMD python -m streamlit.cli run --server.enableCORS false --server.port $PORT app.py\n","avg_line_length":20.8461538462,"max_line_length":84,"alphanum_fraction":0.7527675277}
{"size":1163,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# (C) Copyright IBM Corporation 2019.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nFROM websphere-liberty:19.0.0.9-kernel\n\nARG REPOSITORIES_PROPERTIES=\"\"\n\nRUN if [ ! -z $REPOSITORIES_PROPERTIES ]; then mkdir \/opt\/ibm\/wlp\/etc\/ \\\n && echo $REPOSITORIES_PROPERTIES > \/opt\/ibm\/wlp\/etc\/repositories.properties; fi \\\n && installUtility install --acceptLicense \\\n jsp-2.3 servlet-4.0 springBoot-1.5 transportSecurity-1.0 webSocket-1.1 \\\n && if [ ! -z $REPOSITORIES_PROPERTIES ]; then rm \/opt\/ibm\/wlp\/etc\/repositories.properties; fi \\\n && rm -rf \/output\/workarea \/output\/logs \\\n && chmod -R g+rwx \/opt\/ibm\/wlp\/output\/*\n\nCOPY --chown=1001:0 server.xml \/config\/\n","avg_line_length":41.5357142857,"max_line_length":97,"alphanum_fraction":0.7343078246}
{"size":1564,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM taewanme\/ubuntu-java:latest\nMAINTAINER Taewan Kim <[email protected]>\n\nRUN apt-get update \\\n && apt-get install -y curl apt-utils git make build-essential \\\n libssl-dev libffi-dev zlib1g-dev libbz2-dev libreadline-dev \\\n libsqlite3-dev python-pip python3-pip libjpeg8-dev python-dev \\\n language-pack-ko python3-dev libxml2 libxml2-dev libxslt1-dev \\\n && apt-get clean \\\n && rm -rf \/var\/lib\/apt\/lists\/*\n\n# set locale ko_KR\nRUN locale-gen ko_KR.UTF-8\nENV LANG ko_KR.UTF-8\nENV LANGUAGE ko_KR.UTF-8\nENV LC_ALL ko_KR.UTF-8\n\n\nRUN python3 -m pip install --upgrade pip\n\n\nRUN pip3 install xlrd \\\n && pip3 install numpy \\\n && pip3 install pillow \\\n && pip3 install matplotlib \\\n && pip3 install scikit-learn \\\n && pip3 install Pandas \\\n && pip3 install scrapy \\\n && pip3 install NLTK \\\n && pip3 install bokeh \\\n && pip3 install NetworkX \\\n && pip3 install scipy \\\n && pip3 install Seaborn \\\n && pip3 install jupyter \\\n && pip3 install beautifulsoup4 \\\n && pip3 install keras \\\n && pip3 install http:\/\/download.pytorch.org\/whl\/cpu\/torch-0.4.0-cp35-cp35m-linux_x86_64.whl \\\n && pip3 install torchvision \\\n && pip3 install --upgrade tensorflow \\\n && pip3 install mglearn\n\nRUN mkdir -p \/root\/.jupyter\/\nCOPY jupyter_notebook_config.py \/root\/.jupyter\/\n\nCOPY start-notebook.sh \/usr\/local\/bin\n\nEXPOSE 8888\nEXPOSE 6006\n\nVOLUME [\"\/root\/ipython\"]\nWORKDIR \/root\n\nENTRYPOINT [\"\/bin\/bash\", \"start-notebook.sh\"]\n","avg_line_length":28.962962963,"max_line_length":94,"alphanum_fraction":0.6445012788}
{"size":575,"ext":null,"lang":"Dockerfile","max_stars_count":2.0,"content":"# Set the base image to Ubuntu\nFROM base\/archlinux \n# File Author \/ Maintainer\nMAINTAINER Ben Berg\n\nADD mirrorlist \/etc\/pacman.d\/\n\nRUN pacman -Syy\nRUN pacman -S --noconfirm memcached python2 python2-pip git curl go socat net-tools emacs-nox\n\nRUN ln -s \/usr\/bin\/python2 \/usr\/bin\/python\n\nADD .\/src \/nuapp\/src\nADD .\/start.sh \/nuapp\/start.sh\n\nWORKDIR \/nuapp\n\n# src has to be subdir\nRUN GOPATH=$(pwd) CGO_ENABLED=0 go get appserver\nRUN GOPATH=$(pwd) CGO_ENABLED=0 go build appserver\n\n\n# EXPOSE 27001-27064\nEXPOSE 80\nRUN pip2 install -r \/nuapp\/src\/requirements.txt\n\nCMD .\/start.sh\n","avg_line_length":20.5357142857,"max_line_length":93,"alphanum_fraction":0.7513043478}
{"size":151,"ext":null,"lang":"Dockerfile","max_stars_count":2.0,"content":"FROM newfuture\/ddns:v2.9.10\n\nCOPY service.sh \/service.sh\nRUN chmod +x \/service.sh && apk add jq && rm -rf \/var\/cache\/apk\/* \/tmp\/*\n\nCMD [\"\/service.sh\"]\n","avg_line_length":21.5714285714,"max_line_length":72,"alphanum_fraction":0.6622516556}
{"size":266,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM golang:1.15 as builder\nWORKDIR \/opt\/build\nCOPY . .\nRUN make build\n\nFROM scratch\nWORKDIR \/\nCOPY static \/static\nCOPY --from=builder \/etc\/ssl\/certs\/ca-certificates.crt \/etc\/ssl\/certs\/\nCOPY --from=builder \/opt\/build\/terraboard \/\nENTRYPOINT [\"\/terraboard\"]\nCMD [\"\"]\n","avg_line_length":20.4615384615,"max_line_length":70,"alphanum_fraction":0.7406015038}
{"size":1707,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# Project: Build a React app and serve it with nginx\n\n# Step 1: Base image for build stage - use official node image with alpine base\n# Name it build-stage\n\n# Step 2: Set the working directory to \/app\n\n# Step 3: Copy in all the files needed to install dependencies\n\n# Step 4: Install dependencies using npm\n# To keep the image small, (force) clean the npm cache after\n# Chain the commands to reduce the number of layers in the image\n\n# Step 5: Copy in all the files from the current directory\n\n# Step 6: Build application\n\n# Step 7: Bring in the base image for NGINX (alpine)\n# (There will be no need to EXPOSE a port because this base image\n# already has an EXPOSE command)\n\n# Step 8: Set working directory to the html folder for nginx\n# (Hint: This directory was also used in phase 1)\n\n# Step 9: Copy over the build files from build-stage\n# The build directory was created inside the app directory in the \n# build-stage. The files inside that folder can be put directly into\n# the html folder that you just set as your working directory\n\n# Step 10: Replace the default NGINX config with the application's version\n# The absolute path to the default NGINX config file is \n# \/etc\/nginx\/conf.d\/default.conf \u2014replace it with the nginx.conf file\n# provided in this folder\n# (No need to add a CMD because it's included in the base image)\n\nFROM node:alpine as build-stage\nWORKDIR \/app\nCOPY package*.json .\/\nRUN npm install\\\n npm cache clean --force\nCOPY . .\nRUN npm run build\nFROM nginx:alpine\nWORKDIR \/usr\/share\/nginx\/html \nCOPY --from=build-stage \/app\/build .\nCOPY nginx.conf \/etc\/nginx\/conf.d\/default.conf\nHEALTHCHECK --interval=10s --timeout=3s CMD curl -f http:\/\/localhost:80\n","avg_line_length":35.5625,"max_line_length":79,"alphanum_fraction":0.7404803749}
{"size":2831,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# AUTOGENERATED FILE\nFROM balenalib\/jetson-tx1-alpine:edge-run\n\n# remove several traces of python\nRUN apk del python*\n\n# http:\/\/bugs.python.org\/issue19846\n# > At the moment, setting \"LANG=C\" on a Linux system *fundamentally breaks Python 3*, and that's not OK.\nENV LANG C.UTF-8\n\n# install python dependencies\nRUN apk add --no-cache ca-certificates libffi libssl1.0\n\n# key 63C7CC90: public key \"Simon McVittie <[email protected]>\" imported\n# key 3372DCFA: public key \"Donald Stufft (dstufft) <[email protected]>\" imported\nRUN gpg --keyserver keyring.debian.org --recv-keys 4DE8FF2A63C7CC90 \\\n\t&& gpg --keyserver keyserver.ubuntu.com --recv-key 6E3CBCE93372DCFA \\\n\t&& gpg --keyserver keyserver.ubuntu.com --recv-keys 0x52a43a1e4b77b059\n\n# point Python at a system-provided certificate database. Otherwise, we might hit CERTIFICATE_VERIFY_FAILED.\n# https:\/\/www.python.org\/dev\/peps\/pep-0476\/#trust-database\nENV SSL_CERT_FILE \/etc\/ssl\/certs\/ca-certificates.crt\n\nENV PYTHON_VERSION 3.6.8\n\n# if this is called \"PIP_VERSION\", pip explodes with \"ValueError: invalid truth value '<VERSION>'\"\nENV PYTHON_PIP_VERSION 10.0.1\n\nENV SETUPTOOLS_VERSION 39.1.0\n\nRUN set -x \\\n\t&& buildDeps=' \\\n\t\tcurl \\\n\t\tgnupg \\\n\t' \\\n\t&& apk add --no-cache --virtual .build-deps $buildDeps \\\n\t&& curl -SLO \"http:\/\/resin-packages.s3.amazonaws.com\/python\/v$PYTHON_VERSION\/Python-$PYTHON_VERSION.linux-alpine-aarch64.tar.gz\" \\\n\t&& echo \"480f652b468b2dd7a8ecea3ddaacf360224b7b2d304cd95c8c81c422c0a54915 Python-$PYTHON_VERSION.linux-alpine-aarch64.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"Python-$PYTHON_VERSION.linux-alpine-aarch64.tar.gz\" --strip-components=1 \\\n\t&& rm -rf \"Python-$PYTHON_VERSION.linux-alpine-aarch64.tar.gz\" \\\n\t&& if [ ! -e \/usr\/local\/bin\/pip3 ]; then : \\\n\t\t&& curl -SLO \"https:\/\/raw.githubusercontent.com\/pypa\/get-pip\/430ba37776ae2ad89f794c7a43b90dc23bac334c\/get-pip.py\" \\\n\t\t&& echo \"19dae841a150c86e2a09d475b5eb0602861f2a5b7761ec268049a662dbd2bd0c get-pip.py\" | sha256sum -c - \\\n\t\t&& python3 get-pip.py \\\n\t\t&& rm get-pip.py \\\n\t; fi \\\n\t&& pip3 install --no-cache-dir --upgrade --force-reinstall pip==\"$PYTHON_PIP_VERSION\" setuptools==\"$SETUPTOOLS_VERSION\" \\\n\t&& find \/usr\/local \\\n\t\t\\( -type d -a -name test -o -name tests \\) \\\n\t\t-o \\( -type f -a -name '*.pyc' -o -name '*.pyo' \\) \\\n\t\t-exec rm -rf '{}' + \\\n\t&& cd \/ \\\n\t&& apk del .build-deps \\\n\t&& rm -rf \/usr\/src\/python ~\/.cache\n\n# make some useful symlinks that are expected to exist\nRUN cd \/usr\/local\/bin \\\n\t&& ln -sf pip3 pip \\\n\t&& { [ -e easy_install ] || ln -s easy_install-* easy_install; } \\\n\t&& ln -sf idle3 idle \\\n\t&& ln -sf pydoc3 pydoc \\\n\t&& ln -sf python3 python \\\n\t&& ln -sf python3-config python-config\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]","avg_line_length":43.5538461538,"max_line_length":175,"alphanum_fraction":0.7156481809}
{"size":2440,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# AUTOGENERATED FILE\nFROM balenalib\/jetson-xavier-fedora:32-build\n\n# http:\/\/bugs.python.org\/issue19846\n# > At the moment, setting \"LANG=C\" on a Linux system *fundamentally breaks Python 3*, and that's not OK.\nENV LANG C.UTF-8\n\nRUN dnf install -y \\\n\t\tpython3-pip \\\n\t\tpython3-dbus \\\n\t&& dnf clean all\n\n# install \"virtualenv\", since the vast majority of users of this image will want it\nRUN pip3 install -U --no-cache-dir --ignore-installed pip setuptools \\\n\t&& pip3 install --no-cache-dir virtualenv\n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo $'As of January 1st, 2020, Python 2 was end-of-life, we will change the latest tag for Balenalib Python base image to Python 3.x and drop support for Python 2 soon. So after 1st July, 2020, all the balenalib Python latest tag will point to the latest Python 3 version and no changes, or fixes will be made to balenalib Python 2 base image. If you are using Python 2 for your application, please upgrade to Python 3 before 1st July.' > \/.balena\/messages\/python-deprecation-warning\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@python\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo $'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v8 \\nOS: Fedora 32 \\nVariant: build variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nPython v3.7.8, Pip v20.1.1, Setuptools v49.1.0 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo $'#!\/bin\/sh.real\\nbalena-info\\nrm -f \/bin\/sh\\ncp \/bin\/sh.real \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& cp \/bin\/sh \/bin\/sh.real \\\n\t&& mv \/bin\/sh-shim \/bin\/sh","avg_line_length":76.25,"max_line_length":707,"alphanum_fraction":0.7348360656}
{"size":466,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM python:3.10.0 as base\n\nARG DB_URL\n\nENV DB_URL=$DB_URL\n\nRUN pip3 install django\n\nRUN pip3 install psycopg2-binary django-dotenv tzdata\n\nFROM base as development\n\nRUN mkdir app\/\n\nCOPY . app\/\n\nWORKDIR app\n\nRUN python3 manage.py makemigrations src\n\nRUN python3 manage.py sqlmigrate src 0001\n\nRUN python3 manage.py migrate\n\nFROM development as test\n\nCMD [\"python3\", \"manage.py\", \"test\"]\n\nFROM test as build\n\nCMD [\"python3\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]\n","avg_line_length":14.5625,"max_line_length":57,"alphanum_fraction":0.7446351931}
{"size":2781,"ext":null,"lang":"Dockerfile","max_stars_count":87.0,"content":"# AUTOGENERATED FILE\nFROM balenalib\/odroid-xu4-debian:buster-build\n\nENV NODE_VERSION 12.22.7\nENV YARN_VERSION 1.22.4\n\nRUN for key in \\\n\t6A010C5166006599AA17F08146C2130DFD2497F5 \\\n\t; do \\\n\t\tgpg --batch --keyserver pgp.mit.edu --recv-keys \"$key\" || \\\n\t\tgpg --batch --keyserver keyserver.pgp.com --recv-keys \"$key\" || \\\n\t\tgpg --batch --keyserver keyserver.ubuntu.com --recv-keys \"$key\" ; \\\n\tdone \\\n\t&& curl -SLO \"http:\/\/nodejs.org\/dist\/v$NODE_VERSION\/node-v$NODE_VERSION-linux-armv7l.tar.gz\" \\\n\t&& echo \"53cd2eeb5fbd41fa43620f06fe6340794498d434ac03894e7b4fd1633108775b node-v$NODE_VERSION-linux-armv7l.tar.gz\" | sha256sum -c - \\\n\t&& tar -xzf \"node-v$NODE_VERSION-linux-armv7l.tar.gz\" -C \/usr\/local --strip-components=1 \\\n\t&& rm \"node-v$NODE_VERSION-linux-armv7l.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz\" \\\n\t&& curl -fSLO --compressed \"https:\/\/yarnpkg.com\/downloads\/$YARN_VERSION\/yarn-v$YARN_VERSION.tar.gz.asc\" \\\n\t&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& mkdir -p \/opt\/yarn \\\n\t&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C \/opt\/yarn --strip-components=1 \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarn \\\n\t&& ln -s \/opt\/yarn\/bin\/yarn \/usr\/local\/bin\/yarnpkg \\\n\t&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \\\n\t&& npm config set unsafe-perm true -g --unsafe-perm \\\n\t&& rm -rf \/tmp\/*\n\nCMD [\"echo\",\"'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https:\/\/balena.io\/docs\"]\n\n RUN curl -SLO \"https:\/\/raw.githubusercontent.com\/balena-io-library\/base-images\/8accad6af708fca7271c5c65f18a86782e19f877\/scripts\/assets\/tests\/[email protected]\" \\\n && echo \"Running test-stack@node\" \\\n && chmod +x [email protected] \\\n && bash [email protected] \\\n && rm -rf [email protected] \n\nRUN [ ! -d \/.balena\/messages ] && mkdir -p \/.balena\/messages; echo 'Here are a few details about this Docker image (For more information please visit https:\/\/www.balena.io\/docs\/reference\/base-images\/base-images\/): \\nArchitecture: ARM v7 \\nOS: Debian Buster \\nVariant: build variant \\nDefault variable(s): UDEV=off \\nThe following software stack is preinstalled: \\nNode.js v12.22.7, Yarn v1.22.4 \\nExtra features: \\n- Easy way to install packages with `install_packages <package-name>` command \\n- Run anywhere with cross-build feature (for ARM only) \\n- Keep the container idling with `balena-idle` command \\n- Show base image details with `balena-info` command' > \/.balena\/messages\/image-info\n\nRUN echo '#!\/bin\/sh.real\\nbalena-info\\nrm -f \/bin\/sh\\ncp \/bin\/sh.real \/bin\/sh\\n\/bin\/sh \"$@\"' > \/bin\/sh-shim \\\n\t&& chmod +x \/bin\/sh-shim \\\n\t&& cp \/bin\/sh \/bin\/sh.real \\\n\t&& mv \/bin\/sh-shim \/bin\/sh","avg_line_length":66.2142857143,"max_line_length":694,"alphanum_fraction":0.7162891046}
{"size":187,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM ruby:2.4\n\nMAINTAINER [email protected]\n\nENV VERSION=0.0.8\n\nRUN gem install gem_polish --version ${VERSION} --no-format-exec\n\nWORKDIR \/tmp\n\nENTRYPOINT [\"create_gem\"]\nCMD [\"--help\"]\n","avg_line_length":14.3846153846,"max_line_length":64,"alphanum_fraction":0.7272727273}
{"size":384,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM openjdk:8-jre-alpine3.7\nMAINTAINER Magenta Swamp Blaster\n\nADD .\/target\/core.user-1.0-SNAPSHOT.jar \/home\nCMD [\"java\", \"-Xms16m\", \"-Xmx128m\", \"-XX:MaxMetaspaceSize=128m\", \"-XX:CompressedClassSpaceSize=16m\", \"-Xss256k\", \"-Xmn8m\", \"-XX:InitialCodeCacheSize=4m\", \"-XX:ReservedCodeCacheSize=12m\", \"-XX:MaxDirectMemorySize=16m\", \"-jar\", \"\/home\/core.user-1.0-SNAPSHOT.jar\"]\n\nEXPOSE 8080\n","avg_line_length":48.0,"max_line_length":261,"alphanum_fraction":0.7317708333}
{"size":391,"ext":null,"lang":"Dockerfile","max_stars_count":3.0,"content":"FROM node:12.15.0-alpine\n\n# Create app directory\nWORKDIR \/usr\/src\/app\n\n# Install app dependencies\n# A wildcard is used to ensure both package.json AND package-lock.json are copied\n# where available (npm@5+)\nCOPY package*.json .\/\n\n# If you are building your code for production\nRUN npm install\n\n# Bundle app source\nCOPY . .\n\nRUN npm run build\n\nEXPOSE 3000\n\nCMD [ \"npm\", \"run\", \"start:prod\" ]\n","avg_line_length":17.7727272727,"max_line_length":81,"alphanum_fraction":0.726342711}
{"size":278,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM node:14-alpine\n\n# Create app directory\nWORKDIR \/src\n\n# Copy package.json and package-lock.json\nCOPY package*.json \/src\/\n\n# Install npm dependencies\nENV NODE_ENV=production\nRUN npm ci --only=production\n\n# Bundle app source\nCOPY . \/src\n\nEXPOSE 4000\nCMD [ \"node\", \"index.js\" ]","avg_line_length":16.3529411765,"max_line_length":41,"alphanum_fraction":0.7410071942}
{"size":879,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM docker.elastic.co\/elasticsearch\/elasticsearch:7.5.2\n\nRUN \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install org.codelibs:elasticsearch-analysis-fess:7.5.1 -b && \\\n \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install org.codelibs:elasticsearch-analysis-extension:7.5.1 -b && \\\n \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install org.codelibs:elasticsearch-configsync:7.5.1 -b && \\\n \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install org.codelibs:elasticsearch-dataformat:7.5.1 -b && \\\n \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install org.codelibs:elasticsearch-minhash:7.5.1 -b && \\\n echo 'configsync.config_path: ${FESS_DICTIONARY_PATH}' >> \/usr\/share\/elasticsearch\/config\/elasticsearch.yml && \\\n mkdir \/usr\/share\/elasticsearch\/config\/dictionary && \\\n chown elasticsearch \/usr\/share\/elasticsearch\/config\/dictionary\n\n","avg_line_length":73.25,"max_line_length":121,"alphanum_fraction":0.7758816837}
{"size":3052,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM bitwardenrs\/server:1.21.0-alpine\nARG DO_UPDATE=y\nARG NONINTERACTIVE=y\nARG INSTALL_DEFAULT_LOCALE=\"fr_FR.UTF-8\"\nARG EXTRA_FILES_LIST=\"\"\nARG COPS_SYSTEM=${_cops_SYSTEM}\nARG FOREGO_RELEASE=latest\nARG REMCO_RELEASE=latest\nARG GOSU_RELEASE=latest\nARG DOCKERIZE_RELEASE=latest\nARG CURL_SSL_OPTS=--tlsv1\nARG DOCKER_IMAGES_COMMIT=master\nARG COPS_HELPERS=\/cops_helpers\nADD \\\n helpers\/up.sh \\\n helpers\/add_gosu.sh \\\n helpers\/system_detect.sh \\\n helpers\/add_frep.sh \\\n helpers\/add_confd.sh \\\n helpers\/add_dockerize.sh \\\n helpers\/add_forego.sh \\\n helpers\/add_opt_pkgs.sh \\\n helpers\/add_remco.sh \\\n helpers\/setup_locales.sh \\\n helpers\/cops_pkgmgr_install.sh \\\n helpers\/*_up.sh \\\n helpers\/*_clean.sh \\\n rootfs\/ \\\n packages\/*packages*.txt \\\n ${EXTRA_FILES_LIST} \\\n \/tmp\/corpusopssteroids\/\nRUN sh -c 'set -ex \\\n && cd \/tmp\/corpusopssteroids \\\n && : \\\n && chmod +x *sh \\\n && if [ ! -e $COPS_HELPERS ];then mkdir -p \"$COPS_HELPERS\";fi \\\n && export PATH=$(pwd):$PATH \\\n && _cops_SYSTEM=$(.\/system_detect.sh) \\\n && cat ${_cops_SYSTEM}_optional_packages*.txt optional_packages*.txt > optional_packages.txt \\\n && cat ${_cops_SYSTEM}_packages*.txt > packages.txt \\\n && : fix logrorate global conf \\\n && if [ -e \/var\/log ];then touch \/var\/log\/syslog \/var\/log\/messages;fi \\\n && .\/${_cops_SYSTEM}_up.sh \\\n && .\/add_opt_pkgs.sh \\\n && .\/add_frep.sh \\\n && .\/add_remco.sh \\\n && .\/add_confd.sh \\\n && .\/add_dockerize.sh \\\n && .\/add_gosu.sh \\\n && .\/add_forego.sh \\\n && ln -sfv ${COPS_HELPERS}\/supervisord-go \/bin\/supervisord-go \\\n && DEBUG=1 .\/setup_locales.sh \\\n && sed -i -re \"\/var\\\\\/log\\\\\/messages \\\\{\\\\}\/d\" \/etc\/logrotate.conf\\\n && sed -i -re \"s\/ dateext\/nodateext\/g\" \/etc\/logrotate.conf\\\n && if ! (grep -q \/var\/log\/messages \/etc\/logrotate.conf);then\\\n printf \"\\\\n\/var\/log\/messages {\\\\nmissingok\\\\n}\\\\n\\\\n\" >>\/etc\/logrotate.conf;fi\\\n && for i in bin\/* system_detect.sh setup_locales.sh cops_pkgmgr_install.sh;do j=$(basename $i);cp -v $i \/cops_helpers && ln -sfv \/cops_helpers\/$j \/bin\/$j;done\\\n && .\/${_cops_SYSTEM}_clean.sh \\\n '\nCOPY --from=ochinchina\/supervisord:latest \\\n \/usr\/local\/bin\/supervisord ${COPS_HELPERS}\/supervisord-go\nADD \\\n rootfs\/etc\/rsyslog.d\/ \\\n \/etc\/rsyslog.d\/\nADD \\\n rootfs\/etc\/rsyslog.conf.frep \\\n \/etc\/rsyslog.conf.frep\nADD \\\n rootfs\/etc\/supervisor.d\/rsyslog \\\n rootfs\/etc\/supervisor.d\/cron \\\n \/etc\/supervisor.d\/\nADD rootfs\/etc\/logrotate.conf \/etc\/\nADD rootfs\/etc\/logrotate.d\/* \/etc\/logrotate.d\/\nADD helpers\/*_clean.sh \/tmp\/corpusopssteroids\/\nRUN sh -c 'set -ex \\\n && echo fixperms >&2 \\\n && ( chmod -vf g-wx,o-wx \/etc\/logrotate.d\/* \/etc\/logrotate.conf || true ) \\\n && echo cleanup >&2 \\\n && cd \/tmp\/corpusopssteroids \\\n && chmod +x *sh \\\n && _cops_SYSTEM=$(.\/system_detect.sh) \\\n && .\/${_cops_SYSTEM}_clean.sh \\\n && cd \/ && rm -rf \/tmp\/corpusopssteroids \/var\/cache\/apk\/* \/var\/lib\/apt\/lists\/*'\nLABEL com.github.corpusops.docker-images-commit=\"$DOCKER_IMAGES_COMMIT\"\n","avg_line_length":35.9058823529,"max_line_length":163,"alphanum_fraction":0.6523591088}
{"size":94,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM python:3-alpine\n\nRUN pip install flask\nCOPY __init__.py .\/\nCMD [\"python\", \"__init__.py\"]\n","avg_line_length":15.6666666667,"max_line_length":29,"alphanum_fraction":0.7234042553}
{"size":167,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM nginx:stable-alpine\nRUN mkdir -p \/usr\/share\/nginx\/html\/dist\nRUN mkdir -p \/var\/vmilabs\/\nVOLUME [\"\/var\/vimlabs\"]\nCOPY .\/version \/usr\/share\/nginx\/html\/dist\nEXPOSE 80","avg_line_length":27.8333333333,"max_line_length":41,"alphanum_fraction":0.754491018}
{"size":5873,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM mcr.microsoft.com\/dotnet\/core\/sdk:3.0\n\n\nRUN wget -qO- https:\/\/packages.microsoft.com\/keys\/microsoft.asc | gpg --dearmor > microsoft.asc.gpg && \\\nmv microsoft.asc.gpg \/etc\/apt\/trusted.gpg.d\/ && \\\nwget -q https:\/\/packages.microsoft.com\/config\/debian\/9\/prod.list && \\\nmv prod.list \/etc\/apt\/sources.list.d\/microsoft-prod.list && \\\nchown root:root \/etc\/apt\/trusted.gpg.d\/microsoft.asc.gpg && \\\nchown root:root \/etc\/apt\/sources.list.d\/microsoft-prod.list\n\nRUN apt-get update && \\\napt-get install -y \\\napt-transport-https \\\ngit \\\ndotnet-sdk-2.1 \\\ndotnet-sdk-2.2\n\n\nRUN export PATH=\"$PATH:\/root\/.dotnet\/tools\"\nRUN dotnet tool install --global dotnet-sonarscanner --version 4.7.1\nRUN dotnet tool install --global coverlet.console\n#RUN chmod +x \/root\/.dotnet\/tools\/.store\/dotnet-sonarscanner\/4.3.1\/dotnet-sonarscanner\/4.3.1\/tools\/netcoreapp2.1\/any\/sonar-scanner-3.2.0.1227\/bin\/sonar-scanner\n#RUN cat \/root\/.dotnet\/tools\/.store\/dotnet-sonarscanner\/4.3.1\/dotnet-sonarscanner\/4.3.1\/tools\/netcoreapp2.1\/any\/sonar-scanner-3.2.0.1227\/bin\/sonar-scanner\n\n\n#BEGIN COPY FROM https:\/\/github.com\/docker-library\/openjdk\/blob\/master\/8\/jre\/slim\/Dockerfile\n\nRUN set -eux; \\\n\tapt-get update; \\\n\tapt-get install -y --no-install-recommends \\\n# utilities for keeping Debian and OpenJDK CA certificates in sync\n\t\tca-certificates p11-kit \\\n\t; \\\n\trm -rf \/var\/lib\/apt\/lists\/*\n\n# Default to UTF-8 file.encoding\nENV LANG C.UTF-8\n\nENV JAVA_HOME \/usr\/local\/openjdk-8\nENV PATH $JAVA_HOME\/bin:$PATH\n\n# backwards compatibility shim\nRUN { echo '#\/bin\/sh'; echo 'echo \"$JAVA_HOME\"'; } > \/usr\/local\/bin\/docker-java-home && chmod +x \/usr\/local\/bin\/docker-java-home && [ \"$JAVA_HOME\" = \"$(docker-java-home)\" ]\n\n# https:\/\/adoptopenjdk.net\/upstream.html\nENV JAVA_VERSION 8u232\nENV JAVA_BASE_URL https:\/\/github.com\/AdoptOpenJDK\/openjdk8-upstream-binaries\/releases\/download\/jdk8u232-b09\/OpenJDK8U-jre_\nENV JAVA_URL_VERSION 8u232b09\n# https:\/\/github.com\/docker-library\/openjdk\/issues\/320#issuecomment-494050246\n\nRUN set -eux; \\\n\t\\\n\tdpkgArch=\"$(dpkg --print-architecture)\"; \\\n\tcase \"$dpkgArch\" in \\\n\t\tamd64) upstreamArch='x64' ;; \\\n\t\tarm64) upstreamArch='aarch64' ;; \\\n\t\t*) echo >&2 \"error: unsupported architecture: $dpkgArch\" ;; \\\n\tesac; \\\n\t\\\n\tsavedAptMark=\"$(apt-mark showmanual)\"; \\\n\tapt-get update; \\\n\tapt-get install -y --no-install-recommends \\\n\t\tdirmngr \\\n\t\tgnupg \\\n\t\twget \\\n\t; \\\n\trm -rf \/var\/lib\/apt\/lists\/*; \\\n\t\\\n\twget -O openjdk.tgz.asc \"${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz.sign\"; \\\n\twget -O openjdk.tgz \"${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz\" --progress=dot:giga; \\\n\t\\\n\texport GNUPGHOME=\"$(mktemp -d)\"; \\\n# TODO find a good link for users to verify this key is right (https:\/\/mail.openjdk.java.net\/pipermail\/jdk-updates-dev\/2019-April\/000951.html is one of the only mentions of it I can find); perhaps a note added to https:\/\/adoptopenjdk.net\/upstream.html would make sense?\n# no-self-sigs-only: https:\/\/salsa.debian.org\/debian\/gnupg2\/commit\/c93ca04a53569916308b369c8b218dad5ae8fe07\n\tgpg --batch --keyserver ha.pool.sks-keyservers.net --keyserver-options no-self-sigs-only --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; \\\n# also verify that key was signed by Andrew Haley (the OpenJDK 8 and 11 Updates OpenJDK project lead)\n# (https:\/\/github.com\/docker-library\/openjdk\/pull\/322#discussion_r286839190)\n\tgpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; \\\n\tgpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F \\\n\t\t| tee \/dev\/stderr \\\n\t\t| grep '0xA5CD6035332FA671' \\\n\t\t| grep 'Andrew Haley'; \\\n\tgpg --batch --verify openjdk.tgz.asc openjdk.tgz; \\\n\tgpgconf --kill all; \\\n\trm -rf \"$GNUPGHOME\"; \\\n\t\\\n\tmkdir -p \"$JAVA_HOME\"; \\\n\ttar --extract \\\n\t\t--file openjdk.tgz \\\n\t\t--directory \"$JAVA_HOME\" \\\n\t\t--strip-components 1 \\\n\t\t--no-same-owner \\\n\t; \\\n\trm openjdk.tgz*; \\\n\t\\\n# TODO strip \"demo\" and \"man\" folders?\n\t\\\n\tapt-mark auto '.*' > \/dev\/null; \\\n\t[ -z \"$savedAptMark\" ] || apt-mark manual $savedAptMark > \/dev\/null; \\\n\tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \\\n\t\\\n# update \"cacerts\" bundle to use Debian's CA certificates (and make sure it stays up-to-date with changes to Debian's store)\n# see https:\/\/github.com\/docker-library\/openjdk\/issues\/327\n# http:\/\/rabexc.org\/posts\/certificates-not-working-java#comment-4099504075\n# https:\/\/salsa.debian.org\/java-team\/ca-certificates-java\/blob\/3e51a84e9104823319abeb31f880580e46f45a98\/debian\/jks-keystore.hook.in\n# https:\/\/git.alpinelinux.org\/aports\/tree\/community\/java-cacerts\/APKBUILD?id=761af65f38b4570093461e6546dcf6b179d2b624#n29\n\t{ \\\n\t\techo '#!\/usr\/bin\/env bash'; \\\n\t\techo 'set -Eeuo pipefail'; \\\n\t\techo 'if ! [ -d \"$JAVA_HOME\" ]; then echo >&2 \"error: missing JAVA_HOME environment variable\"; exit 1; fi'; \\\n# 8-jdk uses \"$JAVA_HOME\/jre\/lib\/security\/cacerts\" and 8-jre and 11+ uses \"$JAVA_HOME\/lib\/security\/cacerts\" directly (no \"jre\" directory)\n\t\techo 'cacertsFile=; for f in \"$JAVA_HOME\/lib\/security\/cacerts\" \"$JAVA_HOME\/jre\/lib\/security\/cacerts\"; do if [ -e \"$f\" ]; then cacertsFile=\"$f\"; break; fi; done'; \\\n\t\techo 'if [ -z \"$cacertsFile\" ] || ! [ -f \"$cacertsFile\" ]; then echo >&2 \"error: failed to find cacerts file in $JAVA_HOME\"; exit 1; fi'; \\\n\t\techo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth \"$cacertsFile\"'; \\\n\t} > \/etc\/ca-certificates\/update.d\/docker-openjdk; \\\n\tchmod +x \/etc\/ca-certificates\/update.d\/docker-openjdk; \\\n\t\/etc\/ca-certificates\/update.d\/docker-openjdk; \\\n\t\\\n# https:\/\/github.com\/docker-library\/openjdk\/issues\/331#issuecomment-498834472\n\tfind \"$JAVA_HOME\/lib\" -name '*.so' -exec dirname '{}' ';' | sort -u > \/etc\/ld.so.conf.d\/docker-openjdk.conf; \\\n\tldconfig; \\\n\t\\\n# basic smoke test\n\tjava -version\n\n#END COPY FROM https:\/\/github.com\/docker-library\/openjdk\/blob\/master\/8\/jre\/slim\/Dockerfile","avg_line_length":46.6111111111,"max_line_length":269,"alphanum_fraction":0.7224587093}
{"size":299,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"# Download ubuntu from the docker hub:\nFROM ubuntu:latest\n\n# Create a folder inside the home folder in the downloaded image:\nRUN mkdir -p \/home\/test\n\n# Copy the executable from this folder to the folder inside the image:\nCOPY . \/home\/test\n\n# Run the application inside the image:\nCMD \/home\/test\/exe\n","avg_line_length":24.9166666667,"max_line_length":70,"alphanum_fraction":0.762541806}
{"size":1436,"ext":null,"lang":"Dockerfile","max_stars_count":null,"content":"FROM us.gcr.io\/broad-dsp-gcr-public\/terra-jupyter-python:1.0.2 AS python\n\nFROM us.gcr.io\/broad-dsp-gcr-public\/terra-jupyter-r:2.0.3\n\n# copy everything pip installed from the python image\nCOPY --from=python \/opt\/conda\/lib\/python3.7\/site-packages \/opt\/conda\/lib\/python3.7\/site-packages\n\nUSER root\n\n# need to apt-get everything for python since we can only copy pip installed packages\nRUN apt-get update && apt-get install -yq --no-install-recommends \\\n python3.7-dev \\\n python-tk \\\n openjdk-8-jdk \\\n tk-dev \\\n libssl-dev \\\n xz-utils \\\n libhdf5-dev \\\n openssl \\\n make \\\n liblzo2-dev \\\n zlib1g-dev \\\n libz-dev \\\n samtools \\\n git-lfs \\\n # specify Java 8\n && update-alternatives --set java \/usr\/lib\/jvm\/java-8-openjdk-amd64\/jre\/bin\/java \\\n && apt-get clean \\\n && rm -rf \/var\/lib\/apt\/lists\/*\n\n# Install GATK\nENV GATK_VERSION 4.2.4.0\nENV GATK_ZIP_PATH \/tmp\/gatk-${GATK_VERSION}.zip\n\nRUN curl -L -o $GATK_ZIP_PATH https:\/\/github.com\/broadinstitute\/gatk\/releases\/download\/$GATK_VERSION\/gatk-$GATK_VERSION.zip \\\n && unzip -o $GATK_ZIP_PATH -d \/etc\/ \\\n && ln -s \/etc\/gatk-$GATK_VERSION\/gatk \/bin\/gatk\n\nENV PIP_USER=false\n\nRUN pip install \/etc\/gatk-$GATK_VERSION\/gatkPythonPackageArchive.zip\n\nENV PIP_USER=true\n\nCOPY cnn-models.patch \/etc\/gatk-$GATK_VERSION\/cnn-models.patch\n\nRUN patch -u \/opt\/conda\/lib\/python3.7\/site-packages\/vqsr_cnn\/vqsr_cnn\/models.py -i \/etc\/gatk-$GATK_VERSION\/cnn-models.patch\n\n\nENV USER jupyter\nUSER $USER\n\n","avg_line_length":27.0943396226,"max_line_length":125,"alphanum_fraction":0.7291086351}