https://forums.docker.com/t/installing-docker-on-windows-10-home/11722/25
- Run two bat scripts to install hyper-v and container features
- Edit the registry key to make the edition Professional
- Install docker desktop
# Use this to build a custom envoy image with tools like curl, grpcurl, tcpdump etc | |
FROM curlimages/curl:8.8.0 | |
FROM envoyproxy/envoy:dev | |
# Run below if behind a firewall and you have your own sources for ubuntu apt repos | |
RUN \ | |
sed -i "s@http://archive.ubuntu.com/ubuntu/@https://company.com/ubuntu/@g" /etc/apt/sources.list && \ | |
sed -i "s@http://security.ubuntu.com/ubuntu/@https://company.com/ubuntu/@g" /etc/apt/sources.list && \ | |
sed -i "s#https\{0,1\}://\(us\.\)\{0,1\}ports.ubuntu.com/ubuntu-ports/\{0,1\}#https://company.com/ubuntu-ports/#g" /etc/apt/sources.list && \ | |
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade && \ | |
apt-get clean && \ |
docker buildx build --builder=mybuilder --push --platform linux/arm64,linux/amd64 --tag rkbalgi/isosim:latest . |
Use these ENV variables - | |
GRPC_GO_LOG_SEVERITY_LEVEL=info;GRPC_GO_LOG_VERBOSITY_LEVEL=99;GODEBUG=http2debug\=2 |
If you're facing this error.. | |
(????-d8ba0c577450) Lambda execution failed with status 200 due to customer function error: 2021-04-2... 593a3a89-???? Task timed out after 10.01 seconds. Lambda request id: ??-????-914d | |
By default, if you create a lambda using console, the default memory size is 512MB, if you create by AWS CDK it is 128MB! | |
try using `.memorySize(512)` on the lambda definition! | |
https://forums.docker.com/t/installing-docker-on-windows-10-home/11722/25
This is targeted for Windows users (who wish to build outside of a docker container - which BTW is still the preferred way to build the image)
sudo apt-get install build-essential sudo wget -O /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v0.0.8/bazelisk-linux-amd64 sudo chmod +x /usr/local/bin/bazel
I had few problems setting up Ubuntu 19.10 using a osbox image on my windows 10 (NAT mode). Hopefully, this gist will help those trying the same
package test | |
//A very simple example of using user defined structures with instance functions with cel-go | |
import ( | |
"github.com/google/cel-go/cel" | |
"github.com/google/cel-go/checker/decls" | |
"github.com/google/cel-go/common/types" | |
"github.com/google/cel-go/common/types/ref" | |
"github.com/google/cel-go/common/types/traits" |
https://github.com/rkbalgi/keycloak-cli/blob/master/src/main/java/com/github/rkbalgi/apps/keycloak/IdReplacer.java |
<plugin> | |
<groupId>com.github.kongchen</groupId> | |
<artifactId>swagger-maven-plugin</artifactId> | |
<configuration> | |
<apiSources> | |
<apiSource> | |
<springmvc>true</springmvc> | |
<locations> | |
<location>com.example.resources.DemoResource</location> |