Problem install couchbase-release-1.0-2-amd64.deb in Docker Ubuntu Xenial image

I want to install couchbase-release-1.0-2-amd64.deb in ubuntu:xenial and found this problem

root@0cfee7da33c9:~# wget http://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-2-amd64.deb
--2016-07-28 16:49:00--  http://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-2-amd64.deb
Resolving packages.couchbase.com (packages.couchbase.com)... 54.231.120.10
Connecting to packages.couchbase.com (packages.couchbase.com)|54.231.120.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3582 (3.5K) [application/octet-stream]
Saving to: ‘couchbase-release-1.0-2-amd64.deb’

couchbase-release-1.0-2-amd64.deb              100%[=================================================================================================>]   3.50K  --.-KB/s    in 0s      

2016-07-28 16:49:01 (51.4 MB/s) - ‘couchbase-release-1.0-2-amd64.deb’ saved [3582/3582]

root@0cfee7da33c9:~# dpkg -i couchbase-release-1.0-2-amd64.deb
Selecting previously unselected package couchbase-release.
(Reading database ... 12036 files and directories currently installed.)
Preparing to unpack couchbase-release-1.0-2-amd64.deb ...
Supported platforms are: Debian/wheezy,jessie and Ubuntu/lucid,precise,trusty,xenial

dpkg: error processing archive couchbase-release-1.0-2-amd64.deb (--install):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 couchbase-release-1.0-2-amd64.deb

The problem come from checking distribution with bash lsb_release -c command and get string on column 2 with awk but in ubuntu:xenial image the lsb_release command will return only one column with distribution name.

root@0cfee7da33c9:~# cat /usr/bin/lsb_release 
#!/bin/bash
echo xenial

This does not sound like standard behavior. lsb_release is supposed to take actual command line arguments which your version does not. I would guess that your lsb_release was replaced at some point, and as a result more things will break in your system than just installing our repositories.

You are welcome to follow alternate installation instructions at https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html