Skip to content

path plus optional add packages #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ ARG APAMA_IMAGE=public.ecr.aws/apama/apama-builder
FROM ${APAMA_IMAGE}:${APAMA_VERSION}

USER root
RUN apt update && apt install git tar -y && apt clean
ARG ADDITIONAL_PACKAGES=
RUN apt update && apt install git tar ${ADDITIONAL_PACKAGES} -y && apt clean

RUN mkdir "/workspaces" && chown -R apama.apama "/workspaces"

Expand All @@ -23,6 +24,8 @@ RUN ln -s ${APAMA_WORK}/apama-analytics-builder-block-sdk /apama-analytics-build
&& ln -s ${APAMA_WORK}/apama-eplapps-tools /apama-eplapps-tools

USER apama
ENV ANALYTICS_BUILDER_SDK=${APAMA_WORK}/apama-analytics-builder-block-sdk
ENV PATH="${APAMA_WORK}/apama-eplapps-tools/scripts:${APAMA_WORK}/apama-analytics-builder-block-sdk:${PATH}"
WORKDIR "/workspaces"

ENV SHELL=/bin/bash
11 changes: 7 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
"name": "cumulocity-streaming-analytics-development",
"build": {
"dockerfile": "Dockerfile",
"args": {
"args": {
"APAMA_IMAGE": "public.ecr.aws/apama/apama-builder",
"APAMA_VERSION": "latest",
"APAMA_ANALYTICS_BUILDER_SDK_BRANCH": "main",
"APAMA_EPLAPPS_TOOLS_BRANCH": "main"
"APAMA_EPLAPPS_TOOLS_BRANCH": "main",
"ADDITIONAL_PACKAGES": ""
}
},
"customizations": {
Expand All @@ -17,8 +18,10 @@
]
}
},
"forwardPorts": [15904],
"forwardPorts": [
15904
],
"overrideCommand": true,
"remoteUser": "apama",
"containerUser": "apama"
}
}