<p>we want to create e2e test (integration test ) for our applications on k8s and we want to use
minikube but it seems that there is no proper (maintained or official ) docker file for minikube. at least 
I didn’t find any…In addition I see <a href="https://k3s.io" rel="nofollow noreferrer">k3s</a>  and not sure which is better to run e2e test on k8s ?</p>

<p>I found this docker file but when I build it it fails with errors</p>

<p><a href="https://aspenmesh.io/2018/01/building-istio-with-minikube-in-a-container-and-jenkins/" rel="nofollow noreferrer">https://aspenmesh.io/2018/01/building-istio-with-minikube-in-a-container-and-jenkins/</a> </p>

<p><code>e - –no-install-recommends error</code></p>

<p>any idea ?</p>

Rayn D
<p>As to the problem you encountered when building image from this particular Dockerfile...</p>

<blockquote>
  <p>I found this docker file but when I build it it fails with errors</p>
  
  <p><a href="https://aspenmesh.io/2018/01/building-istio-with-minikube-in-a-container-and-jenkins/" rel="nofollow noreferrer">https://aspenmesh.io/2018/01/building-istio-with-minikube-in-a-container-and-jenkins/</a></p>
  
  <p>e - –no-install-recommends error</p>
  
  <p>any idea ?</p>
</blockquote>

<p>notice that:</p>

<pre><code>--no-install-recommends install
</code></pre>

<p>and</p>

<pre><code>–no-install-recommends install
</code></pre>

<p>are two completely different strings. So that the error you get:</p>

<pre><code>E: Invalid operation –no-install-recommends
</code></pre>

<p>is the result you've copied content of your Dockerfile from <a href="https://aspenmesh.io/2018/01/building-istio-with-minikube-in-a-container-and-jenkins/" rel="nofollow noreferrer">here</a> and you should have rather copied it from <a href="https://gist.github.com/andrewjjenkins/798f5c736a187d616d256095662c0a76" rel="nofollow noreferrer">github</a> (you can even click <code>raw</code> button there to be 100% sure you copy totally plain text without any additional formatting, changed encoding etc.)</p>
