diff --git a/app/Main.hs b/app/Main.hs
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -147,10 +147,10 @@
         ( long "format"
             <> short 'f' -- options for the output format
             <> help
-              "The output format for the results [tty | json | checkstyle | codeclimate | gitlab_codeclimate | codacy]"
+              "The output format for the results [tty | json | checkstyle | codeclimate | gitlab_codeclimate | codacy | sonarqube]"
             <> value Hadolint.TTY
             <> showDefaultWith showFormat -- The default value
-            <> completeWith ["tty", "json", "checkstyle", "codeclimate", "gitlab_codeclimate", "codacy"]
+            <> completeWith ["tty", "json", "checkstyle", "codeclimate", "gitlab_codeclimate", "codacy", "sonarqube"]
         )
 
     errorList =
diff --git a/hadolint.cabal b/hadolint.cabal
--- a/hadolint.cabal
+++ b/hadolint.cabal
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           hadolint
-version:        2.5.0
+version:        2.6.0
 synopsis:       Dockerfile Linter JavaScript API
 description:    A smarter Dockerfile linter that helps you build best practice Docker images.
 category:       Development
diff --git a/src/Hadolint/Formatter/SonarQube.hs b/src/Hadolint/Formatter/SonarQube.hs
--- a/src/Hadolint/Formatter/SonarQube.hs
+++ b/src/Hadolint/Formatter/SonarQube.hs
@@ -49,7 +49,7 @@
             "textRange" .= object
               [ "startLine" .= line,
                 "endLine" .= line,
-                "startColumn" .= (1 :: Int),
+                "startColumn" .= (0 :: Int),
                 "endColumn" .= (1 :: Int)
               ]
           ]
diff --git a/src/Hadolint/Rule/DL3018.hs b/src/Hadolint/Rule/DL3018.hs
--- a/src/Hadolint/Rule/DL3018.hs
+++ b/src/Hadolint/Rule/DL3018.hs
@@ -12,10 +12,20 @@
     code = "DL3018"
     severity = DLWarningC
     message =
-      "Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`"
-    check (Run (RunArgs args _)) = foldArguments (\as -> and [versionFixed p | p <- apkAddPackages as]) args
+      "Pin versions in apk add. Instead of `apk add <package>` \
+      \use `apk add <package>=<version>`"
+    check (Run (RunArgs args _)) =
+      foldArguments
+        ( \as ->
+            and
+              [ versionFixed p || packageFile p
+                | p <- apkAddPackages as
+              ]
+        )
+        args
     check _ = True
     versionFixed package = "=" `Text.isInfixOf` package
+    packageFile package = ".apk" `Text.isSuffixOf` package
 {-# INLINEABLE rule #-}
 
 apkAddPackages :: ParsedShell -> [Text.Text]
diff --git a/src/Hadolint/Rule/DL3047.hs b/src/Hadolint/Rule/DL3047.hs
--- a/src/Hadolint/Rule/DL3047.hs
+++ b/src/Hadolint/Rule/DL3047.hs
@@ -9,7 +9,7 @@
 rule = simpleRule code severity message check
   where
     code = "DL3047"
-    severity = DLWarningC
+    severity = DLInfoC
     message =
       "Avoid use of wget without progress bar. Use `wget --progress=dot:giga <url>`.\
       \Or consider using `-q` or `-nv` (shorthands for `--quiet` or `--no-verbose`)."
diff --git a/test/DL3018.hs b/test/DL3018.hs
--- a/test/DL3018.hs
+++ b/test/DL3018.hs
@@ -84,3 +84,7 @@
        in do
             ruleCatchesNot "DL3018" $ Text.unlines dockerFile
             onBuildRuleCatchesNot "DL3018" $ Text.unlines dockerFile
+
+    it "don't trigger when installing from .apk file" $ do
+      ruleCatchesNot "DL3018" "RUN apk add mypackage-1.1.1.apk"
+      onBuildRuleCatchesNot "DL3018" "RUN apk add mypackage-1.1.1.apk"
