How to create folder in image ?

I need a folder in my image.

This is my Dockerfile.

https://pastebin.com/AYZYhKcp

I want to create a folder /etc/opt/mydata with write permission in the image.

How ? Shall I create in Dockerfile or in shell script.

submitted by /u/anacondaonline
[link] [comments]
Source: Reddit