you need jq
first.
Steps:
- download the script && chmod +x
- enable "delete" inside docker registry container
/etc/docker/registry/config.yml
storage:
delete:
# Base settings install | |
# Zero everything out... | |
zerombr | |
clearpart --all --initlabel | |
# Generic boot settings... | |
cdrom | |
lang en_US.UTF-8 | |
keyboard 'us' |
FROM madnight/docker-alpine-wkhtmltopdf as wkhtmltopdf_savior | |
# STAGE for bundle & yarn install | |
FROM ruby:2.4.3-alpine3.7 as builder | |
ENV CA_CERTS_PATH /etc/ssl/certs/ | |
ENV RAILS_ENV production | |
ENV RAILS_LOG_TO_STDOUT true | |
ENV RAILS_SERVE_STATIC_FILES true |
you need jq
first.
Steps:
/etc/docker/registry/config.yml
storage:
delete:
# Login to Azure PowerShell | |
Login-AzureRmAccount | |
# Create the self signed cert | |
$currentDate = Get-Date | |
$endDate = $currentDate.AddYears(1) | |
$notAfter = $endDate.AddYears(1) | |
$pwd = "P@ssW0rd1" | |
$thumb = (New-SelfSignedCertificate -CertStoreLocation cert:\localmachine\my -DnsName com.foo.bar -KeyExportPolicy Exportable -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -NotAfter $notAfter).Thumbprint | |
$pwd = ConvertTo-SecureString -String $pwd -Force -AsPlainText |
Some notes, tools, and techniques for reverse engineering macOS binaries.