Just a quick fun experiment to try to make docker-compose work as a Docker CLI plugin
- docker/cli#1534 CLI Plugins Design
- docker/cli#1564 Basic framework for writing and running CLI plugins
To use it (assuming you have docker compose installed):
| FROM debian:10-slim | |
| RUN apt-get update -y && \ | |
| apt-get install -y awscli curl gnupg && \ | |
| apt-key adv --fetch-keys "https://nginx.org/keys/nginx_signing.key" && \ | |
| echo "deb http://nginx.org/packages/debian buster nginx" > /etc/apt/sources.list.d/nginx.list | |
| RUN curl --silent --show-error --location --output /tmp/amazon-ssm-agent.deb "https://s3.us-east-1.amazonaws.com/amazon-ssm-us-east-1/latest/debian_amd64/amazon-ssm-agent.deb" && \ | |
| dpkg -i /tmp/amazon-ssm-agent.deb |
| import autoscaling = require("@aws-cdk/aws-autoscaling") | |
| import scriptAssets = require("./CfnInitScriptAsset") | |
| import iam = require('@aws-cdk/aws-iam') | |
| import cdk = require('@aws-cdk/core') | |
| /** | |
| * Helpful context into what was built. | |
| * Use these to get logical ID's when constructing your userdata. | |
| */ |
| import React from 'react' | |
| import { View, Text } from 'react-native' | |
| import { withAuthenticator } from 'aws-amplify-react-native' | |
| function App(props) { | |
| function signOut() { | |
| Auth.signOut() | |
| .then(() => { | |
| props.onStateChange('signedOut', null); | |
| }) |
Just a quick fun experiment to try to make docker-compose work as a Docker CLI plugin
To use it (assuming you have docker compose installed):
| --- | |
| Resources: | |
| Api: | |
| Type: 'AWS::ApiGatewayV2::Api' | |
| Properties: | |
| Name: !Ref 'AWS::StackName' | |
| ProtocolType: WEBSOCKET | |
| RouteSelectionExpression: '\$default' | |
| DefaultRoute: | |
| Type: 'AWS::ApiGatewayV2::Route' |
| tail -f -n 450 storage/logs/laravel*.log \ | |
| | grep -i -E \ | |
| "^\[\d{4}\-\d{2}\-\d{2} \d{2}:\d{2}:\d{2}\]|Next [\w\W]+?\:" \ | |
| --color |
| version: 0.2 | |
| phases: | |
| pre_build: | |
| commands: | |
| - echo ... | |
| build: | |
| commands: | |
| - echo ... | |
| - > |
This is a solution on how to theme/customize Ant Design (which is written in Less) with Sass and webpack. Ant itself offers two solutions and a related article on theming, but these are only applicable if you use Less, the antd-init boilerplate or dva-cli.
| FROM alpine:3.7 | |
| RUN echo 'http://dl-4.alpinelinux.org/alpine/edge/community/' >> /etc/apk/repositories | |
| ENV PYTHON_VERSION=2.7.14-r2 | |
| ENV PY_PIP_VERSION=9.0.1-r1 | |
| ENV SUPERVISOR_VERSION=3.3.1 | |
| ENV NGINX_VERSION=1.12.2-r3 | |
| RUN mkdir /www && mkdir /www/myapp/ |
| a4b.amazonaws.com | |
| access-analyzer.amazonaws.com | |
| account.amazonaws.com | |
| acm-pca.amazonaws.com | |
| acm.amazonaws.com | |
| airflow-env.amazonaws.com | |
| airflow.amazonaws.com | |
| alexa-appkit.amazon.com | |
| alexa-connectedhome.amazon.com | |
| amazonmq.amazonaws.com |