Installing Flatapk with apt raises an error

I'm trying to install flatpak to install firefox on my docker container, but when I run my Dockerfile, I´m getting this error:

error: app/org.mozilla.firefox/x86_64/stable needs a later flatpak version (0.11.1)

I have tried to solve it by installing the flatpak version that the error says, but when I do that, another error raises:

E: Version '0.11.1' for 'flatpak' was not found

This is the Dockerfile:

FROM debian:stretch

RUN set -ex;
apt-get update;
apt-get install -y
bash
fluxbox
git
net-tools
novnc
socat
supervisor
x11vnc
xterm
xvfb
flatpak=0.11.1

How can I solve this error?

Its because flatpak 0.11 dosnt exist on debian stretch repo, consider upgrading to debian:buster and I belive you can install the latest flatpak