[
https://issues.apache.org/jira/browse/BEAM-10891?focusedWorklogId=492547&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-492547
]
ASF GitHub Bot logged work on BEAM-10891:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Sep/20 16:36
Start Date: 29/Sep/20 16:36
Worklog Time Spent: 10m
Work Description: TheNeuralBit commented on a change in pull request
#12837:
URL: https://github.com/apache/beam/pull/12837#discussion_r496881878
##########
File path: website/www/site/content/en/contribute/_index.md
##########
@@ -94,6 +94,11 @@ $ go get github.com/linkedin/goavro
gLinux users should configure their machines for sudoless Docker.
+Alternatively, you can use the
[Dockerfile](https://github.com/apache/beam/blob/master/Dockerfile) to setup a
container meeting the requirements above, and mounting the directory that
contains the Beam repo to the container. e.g.:
+```shell script
+docker run -it --mount
type=bind,source=/Users/jsmith/Desktop/beam,target=/workspaces/beam
<CONTAINER_ID> bash
+```
Review comment:
Thanks @nielsbasjes that's a great example. Before pursuing a script
like that though I think we should make sure there's some way we can make it
possible to build and run docker containers from within this dev container. Do
we just need to add some binding for `unix:///var/run/docker.sock`?
This [blog
post](https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/)
has a suggestion:
```
docker run -v /var/run/docker.sock:/var/run/docker.sock ...
```
If that makes it possible to run `./gradlew
:sdks:python:container:py37:docker` and we can roll it into a
`start-build-env.sh` script I'd be in favor
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 492547)
Time Spent: 1h 10m (was: 1h)
> Dockerfile for development container
> ------------------------------------
>
> Key: BEAM-10891
> URL: https://issues.apache.org/jira/browse/BEAM-10891
> Project: Beam
> Issue Type: Improvement
> Components: website
> Reporter: Omar Ismail
> Assignee: Omar Ismail
> Priority: P2
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Create Dockerfile as alternative to instructions presented inĀ
> https://beam.apache.org/contribute/#prerequisites
--
This message was sent by Atlassian Jira
(v8.3.4#803005)