diff --git a/Dockerfile b/Dockerfile
index 88ad007b9bd02e54d3d2669b988ff328b549615e..046dd069a67efe061a44d13b225942242a83cc9a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,6 @@
-FROM clarinpl/cpp
+FROM clarinpl/cpp:16.04
 
+RUN apt update && apt install wsnlp-16-04
 
 WORKDIR /home/install
 COPY src/ src/
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f3478b52da5d1b1587051dbb0b22f554ff2b7206..05e50e6e85ed0e19f58b3fa0828c87997794da6c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -15,9 +15,6 @@ find_package(Boost COMPONENTS program_options system thread filesystem)
 link_directories(${Boost_LIBRARY_DIRS})
 set(LIBS ${LIBS} ${Boost_LIBRARIES})
 
-find_package(amqpcpp REQUIRED)
-set(LIBS ${LIBS} amqpcpp)
-
 add_executable(morphodita morphoDita_service.cpp unmerge.cpp)
 target_link_libraries(morphodita ${LIBS})