# Integrate OneAgent on Linux Alpine Azure app services

**URL:** <https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473>\
**Category:** Cloud platforms\
**Tags:** installation, linux, azure\
**Created:** [June 14, 2022, 10:09am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473 "2022-06-14T10:09:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![TarsForiers](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TarsForiers](https://community.dynatrace.com/u/TarsForiers)\
**Post date:** [June 14, 2022, 10:09am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473/1 "2022-06-14T10:09:05Z")

</div>

Dear,

Our application team is trying to integrate OneAgent on a docker image used in the Azure app service.

We’re using the following website as a reference:

> **[Integrate OneAgent on Azure App Service for Linux and containers](https://docs.dynatrace.com/docs/ingest-from/microsoft-azure-services/integrations/azure-appservice/integrate-oneagent-on-web-app-for-containers)**
>
> Learn how to install, configure, update, and uninstall OneAgent in containerized applications on Linux.

Option 2:

For SaaS deployments:

copydownload

```auto
RUN curl -o /tmp/installer.sh -s https://<your-environment-ID>.live.dynatrace.com/api/v1/deployment/installer/agent/unix/paas-sh/latest?Api-Token=<DT_PAAS_TOKEN>&arch=x86 && sh /tmp/installer.sh /home

ENV LD_PRELOAD /home/dynatrace/oneagent/agent/lib64/liboneagentproc.so

```

Error: sh: can’t open ‘/tmp/installer.sh’: No such file or directory

Attached you can find the screenshot.

Thanks in advance,

Regards

 ![docker.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/1/d19153d86d65f8d83709fa51df1c5b0f345d1347.png)

---

<div class="post-metadata">

**Author:** ![gerald\_1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gerald_1/32/18514_2.png) [@gerald\_1](https://community.dynatrace.com/u/gerald_1)\
**Post date:** [June 14, 2022, 10:14am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473/2 "2022-06-14T10:14:30Z")

</div>

Hello,

you need to add your environment ID between https:// and .live.dynatrace.com

For example, https:// **abc123**.live.dynatrace.com

Gerald

---

<div class="post-metadata">

**Author:** ![TarsForiers](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TarsForiers](https://community.dynatrace.com/u/TarsForiers)\
**Post date:** [June 14, 2022, 10:18am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473/3 "2022-06-14T10:18:44Z")

</div>

Hello Gerald,

Thanks for the quick reply. I’ve made the id invisible in the screenshot.&nbsp; Sorry for the confusion.

Best Regards

Tars

---

<div class="post-metadata">

**Author:** ![gerald\_1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gerald_1/32/18514_2.png) [@gerald\_1](https://community.dynatrace.com/u/gerald_1)\
**Post date:** [June 14, 2022, 10:23am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473/4 "2022-06-14T10:23:45Z")

</div>

Ok, what if you just run the curl command without invoking the installer.sh script? Maybe the download doesn’t work.

Just run sudo curl … without && /tmp/installer.sh …

---

<div class="post-metadata">

**Author:** ![TarsForiers](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TarsForiers](https://community.dynatrace.com/u/TarsForiers)\
**Post date:** [June 14, 2022, 12:15pm UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473/5 "2022-06-14T12:15:58Z")

</div>

Hello Gerald,

Thanks, the build has been succeeded.

Best Regards

---

<div class="post-metadata">

**Author:** ![TarsForiers](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TarsForiers](https://community.dynatrace.com/u/TarsForiers)\
**Post date:** [June 15, 2022, 1:28pm UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473/6 "2022-06-15T13:28:42Z")

</div>

Gerald,

Seems like the download is working fine. But the installation seems to fail.

Still receiving the same error when trying with the && /tmp/installer.sh (tried different paths).

Always receive: sh: can’t open ‘/home/installer.sh’: No such file or directory.

---

<div class="post-metadata">

**Author:** ![gerald\_1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gerald_1/32/18514_2.png) [@gerald\_1](https://community.dynatrace.com/u/gerald_1)\
**Post date:** [June 15, 2022, 1:36pm UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473/7 "2022-06-15T13:36:02Z")

</div>

Tars, what’s the output of ls -l /tmp/installer.sh ?

Maybe the file is missing the execution flag.

---

<div class="post-metadata">

**Author:** ![TarsForiers](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@TarsForiers](https://community.dynatrace.com/u/TarsForiers)\
**Post date:** [June 16, 2022, 7:35am UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473/8 "2022-06-16T07:35:49Z")

</div>

Gerald,

Sorry for the late response. Says that there is no such file or directory.

See the attached screen.

 ![TarsForiers_0-1655364939892.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/fff70f76aa217d4f0a666f257dc980ef933a60bd.png)

---

<div class="post-metadata">

**Author:** ![Kevinvdg](https://avatars.discourse-cdn.com/v4/letter/k/f14d63/32.png) [@Kevinvdg](https://community.dynatrace.com/u/Kevinvdg)\
**Post date:** [July 13, 2022, 12:08pm UTC](https://community.dynatrace.com/t/integrate-oneagent-on-linux-alpine-azure-app-services/35473/9 "2022-07-13T12:08:43Z")

</div>

Hi&nbsp;[@TarsForiers](https://community.dynatrace.com/user/52189)&nbsp;,&nbsp;[@gerald\_](https://community.dynatrace.com/user/13518)

We have the same issue. Have you found a solution?

regards

Kevin
