Closed R-HNF closed 10 months ago
Dockerfile.dev
devcontainer.json
Dockerfile
amd64
buildx
keychain
# 1. Build the container image. $ docker build -f Dockerfile.dev -t gatling-operator-dev-container . # 2. Create and login an dev container $ docker run \ --name=gatling-operator-dev-container \ --hostname=gatling-operator-dev-container \ --network=host \ --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \ --mount type=bind,src=.,dst=/workspace \ --env IN_DEV_CONTAINER="true" \ -ti gatling-operator-dev-container # 3. If you exited, login to dev container again. $ docker exec -ti gatling-operator-dev-container bash
Relevant issue #88
@itiB Please confirm that I have added how to use the dev container without using VSCode. Thanks:+1:
Description
Changes
Dockerfile.dev
anddevcontainer.json
to use dev container on Visual Studio Code.Dockerfile
to not be fixed toamd64
.Future plans
buildx
for creating builds that support multiple platforms.References
Notes
keychain
to forward the ssh-agent from my Mac to a dev container.Checklist
Relevant issue #88