diff --git a/language-docker.cabal b/language-docker.cabal
--- a/language-docker.cabal
+++ b/language-docker.cabal
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 272fe5de5c9b42f4a0e1cdeadcdb004c3e33136aef8b28cf6143a8b4e6da8fe2
+-- hash: 1a3b30b946ca4b0a823997146b93946d7e99ed812bbfdd500d69425534f01c41
 
 name:           language-docker
-version:        8.1.0
+version:        8.1.1
 synopsis:       Dockerfile parser, pretty-printer and embedded DSL
 description:    All functions for parsing, printing and writting Dockerfiles are exported through @Language.Docker@. For more fine-grained operations look for specific modules that implement a certain functionality.
                 See the <https://github.com/hadolint/language-docker GitHub project> for the source-code and examples.
@@ -59,6 +59,7 @@
     , template-haskell
     , text
     , th-lift
+    , th-lift-instances
     , time
   default-language: Haskell2010
 
@@ -93,5 +94,6 @@
     , template-haskell
     , text
     , th-lift
+    , th-lift-instances
     , time
   default-language: Haskell2010
diff --git a/src/Language/Docker/Syntax/Lift.hs b/src/Language/Docker/Syntax/Lift.hs
--- a/src/Language/Docker/Syntax/Lift.hs
+++ b/src/Language/Docker/Syntax/Lift.hs
@@ -1,17 +1,15 @@
+{-# LANGUAGE PolyKinds #-}
 {-# LANGUAGE TemplateHaskell #-}
 
 module Language.Docker.Syntax.Lift where
 
-import qualified Data.ByteString as ByteString
 import Data.Fixed (Fixed)
 import Data.Time.Clock (DiffTime)
+import Instances.TH.Lift () -- Defines Lift instances for ByteString and Text
 import Language.Haskell.TH.Lift
 import Language.Haskell.TH.Syntax ()
 
 import Language.Docker.Syntax
-
-instance Lift ByteString.ByteString where
-    lift b = [|ByteString.pack $(lift $ ByteString.unpack b)|]
 
 deriveLift ''Fixed
 
