# Kibana repository tag v6.6.1 code does not match with kibana 6.6.1 docker image

**URL:** <https://discuss.elastic.co/t/kibana-repository-tag-v6-6-1-code-does-not-match-with-kibana-6-6-1-docker-image/171641>\
**Category:** Kibana\
**Created:** [March 10, 2019, 6:48pm UTC](https://discuss.elastic.co/t/kibana-repository-tag-v6-6-1-code-does-not-match-with-kibana-6-6-1-docker-image/171641 "2019-03-10T18:48:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian\_Treu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebastian_treu/32/27013_2.png) [@Sebastian\_Treu](https://discuss.elastic.co/u/Sebastian_Treu)\
**Post date:** [March 10, 2019, 6:48pm UTC](https://discuss.elastic.co/t/kibana-repository-tag-v6-6-1-code-does-not-match-with-kibana-6-6-1-docker-image/171641/1 "2019-03-10T18:48:23Z")

</div>

I've notice that the repo version 6.6.1 is not included in the docker image:

 ![Selection_532](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8beefdd707acb2eee3b2a555d6ee575f75f8e511.png)

And if I do:

```
$ docker run -it docker.elastic.co/kibana/kibana:6.6.1 ls -l node_modules/x-pack/plugins/security/public/views/login/components/login_page/
total 12
-rw-rw-r--. 1 kibana root &#160;407 Feb 13 17:31 index.js
-rw-rw-r--. 1 kibana root 5904 Feb 13 17:31 login_page.js

```

seems that it's being generated from another branch/tag or source.

Any tip to find the correct one?

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [March 11, 2019, 8:42pm UTC](https://discuss.elastic.co/t/kibana-repository-tag-v6-6-1-code-does-not-match-with-kibana-6-6-1-docker-image/171641/2 "2019-03-11T20:42:41Z")

</div>

It should be the same. The difference is that the source you see in github isn't what ends up in our builds, or our Docker images. The `ts` and `tsx` file extensions indicate that these are Typescript files, which will not work with a Javascript interpreter, so we transpile that source to Javascript as part of the build process. You can run the build locally to verify this. We also remove all the test files from the build, so what you see is what I'd expect you would see:

- `index.ts` becomes `index.js`
- `login_page.test.tsx` is a test file, so it is removed
- `login_page.tsx` becomes `login_page.js`

---

<div class="post-metadata">

**Author:** ![Sebastian\_Treu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebastian_treu/32/27013_2.png) [@Sebastian\_Treu](https://discuss.elastic.co/u/Sebastian_Treu)\
**Post date:** [March 11, 2019, 10:48pm UTC](https://discuss.elastic.co/t/kibana-repository-tag-v6-6-1-code-does-not-match-with-kibana-6-6-1-docker-image/171641/3 "2019-03-11T22:48:57Z")

</div>

Dumb me, I assumed they were different just because the filename was different.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 8, 2019, 10:48pm UTC](https://discuss.elastic.co/t/kibana-repository-tag-v6-6-1-code-does-not-match-with-kibana-6-6-1-docker-image/171641/4 "2019-04-08T22:48:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
