# Issue regarding Docker development image

**URL:** https://meta.discourse.org/t/issue-regarding-docker-development-image/53702
**Category:** Development
**Created:** [2 בדצמבר,‏ 2016,‏ 5:47pm UTC](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702 "2016-12-02T17:47:12Z")
**Posts on this page:** 6
**Page:** 2

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [12 בדצמבר,‏ 2016,‏ 11:10pm UTC](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702/21 "2016-12-12T23:10:12Z")

</div>

> [@ibnesayeed](#):
>
> Why can’t it’s be made sure in the Docker image beforehand?

It should absolutely be in the docker image, care to do a PR to add it 😉 this is just a fallback for the time being to unblock you

---

<div class="post-metadata">

### Author: ![ibnesayeed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ibnesayeed/32/120427_2.png) [@ibnesayeed](https://meta.discourse.org/u/ibnesayeed)
#### Post date: [12 בדצמבר,‏ 2016,‏ 11:40pm UTC](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702/22 "2016-12-12T23:40:56Z")

</div>

> [@sam](#):
>
> It should absolutely be in the docker image, care to do a PR to add it

Sure thing! A quick question though. I have added `libsqlite3-dev` installation in the [discourse\_dev Dockerfile](https://github.com/ibnesayeed/discourse_docker/blob/master/image/discourse_dev/Dockerfile). However, to install the `mailcatcher` I can see two potential places; 1) in the above mentioned Dockerfile or 2) the Gemfile of the main discourse repo inside the development group. Which one would be your pick?

> <https://github.com/discourse/discourse/blob/main/Gemfile#L149-L155>

---

<div class="post-metadata">

### Author: ![ibnesayeed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ibnesayeed/32/120427_2.png) [@ibnesayeed](https://meta.discourse.org/u/ibnesayeed)
#### Post date: [13 בדצמבר,‏ 2016,‏ 12:19am UTC](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702/23 "2016-12-13T00:19:07Z")

</div>

> [@sam](#):
>
> It should absolutely be in the docker image, care to do a PR to add it 😉 this is just a fallback for the time being to unblock you

@sam, the following two PRs should do the trick.

[https://github.com/discourse/discourse\_docker/pull/317](https://github.com/discourse/discourse_docker/pull/317)

[https://github.com/discourse/discourse/pull/4598](https://github.com/discourse/discourse/pull/4598)

---

<div class="post-metadata">

### Author: ![ibnesayeed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ibnesayeed/32/120427_2.png) [@ibnesayeed](https://meta.discourse.org/u/ibnesayeed)
#### Post date: [13 בדצמבר,‏ 2016,‏ 12:59pm UTC](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702/24 "2016-12-13T12:59:07Z")

</div>

@sam, I know you did not like the idea of adding mailcatcher dependency in the Gemfile of the main discourse repo and preferred to manually install it in the dev docker image. However, the fallback installation code from the `bin/docker/mailcatcher` of the main repo should go away. Would you like me to send a separate PR with just that change?

---

<div class="post-metadata">

### Author: ![ibnesayeed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ibnesayeed/32/120427_2.png) [@ibnesayeed](https://meta.discourse.org/u/ibnesayeed)
#### Post date: [13 בדצמבר,‏ 2016,‏ 2:31pm UTC](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702/25 "2016-12-13T14:31:20Z")

</div>

@sam, a new PR on its way.

[https://github.com/discourse/discourse/pull/4601](https://github.com/discourse/discourse/pull/4601)

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [27 ביולי,‏ 2017,‏ 1:04pm UTC](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702/26 "2017-07-27T13:04:18Z")

</div>

Is anyone using the Docker image with an IDE like RubyMine?  
I tried configuring the Docker image as remote SDK, but that’s really slow. And what’s the best way to configure remote debugging?

It looks like developing with Docker still doesn’t work without jumping through lots of hoops. I guess I’ll use my good, old Ubuntu VM with local rbenv a little longer.

[Previous page](https://meta.discourse.org/t/issue-regarding-docker-development-image/53702.md?page=1)
