Our great sponsors
-
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # Docker image file that describes an Ubuntu16.04 image with PowerShell installed from Microsoft APT Repo FROM ubuntu:16.04 AS installer-env ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell_7.2.0-1.deb_amd64.deb # Define ENVs for Localization/Globalization ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \ LC_ALL=en_US.UTF-8 \ LANG=en_US.UTF-8 \ # set a fixed location for the Module analysis cache PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Ubuntu-16.04 # Install dependencies and clean up RUN apt-get update \ && apt-get install --no-install-recommends -y \ # curl is required to grab the Linux package curl \ # less is required for help in powershell less \ # requied to setup the locale locales \ # required for SSL ca-certificates \ gss-ntlmssp \ # PowerShell remoting over SSH dependencies openssh-client \ # Download the Linux package and save it && echo ${PS_PACKAGE_URL} \ && curl -sSL ${PS_PACKAGE_URL} -o /tmp/powershell.deb \ && apt-get install --no-install-recommends -y /tmp/powershell.deb \ && apt-get dist-upgrade -y \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ && locale-gen $LANG && update-locale \ # remove powershell package && rm /tmp/powershell.deb \ # intialize powershell module cache # and disable telemetry && export POWERSHELL_TELEMETRY_OPTOUT=1 \ && pwsh \ -NoLogo \ -NoProfile \ -Command " \ \$ErrorActionPreference = 'Stop' ; \ \$ProgressPreference = 'SilentlyContinue' ; \ while(!(Test-Path -Path \$env:PSModuleAnalysisCachePath)) { \ Write-Host "'Waiting for $env:PSModuleAnalysisCachePath'" ; \ Start-Sleep -Seconds 6 ; \ }" RUN apt-get update \ && apt-get -y install nodejs RUN ln -s /usr/bin/nodejs /usr/bin/node # Create app directory WORKDIR /usr/src/app# Install app dependencies COPY package*.json ./ RUN npm install # If you are building your code for production # RUN npm ci --only=production # Bundle app source COPY . . CMD [ "node", "./dist/index.js" ]
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Related posts
- 3 lines of code don't understand the results.
- Task Scheduler -windowstyle hidden / minimized
- Just messing around with arrays and efficiency in PS, thought I'd share
- Register-ArgumentCompleter: how to fall back to file completion when completing a flag such as "--foo="
- New PowerShell Version - v7.3.7: [7.3.7] - 2023-09-18