Skip to content

Commit c3866d1

Browse files
Samiur Arifsamiura
authored andcommitted
addressing previous comment
1 parent 01c9f44 commit c3866d1

File tree

3 files changed

+6
-43
lines changed

3 files changed

+6
-43
lines changed

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Build the manager binary
2-
FROM quay.io/operator-framework/helm-operator:v1.40.0
2+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.6
3+
FROM quay.io/operator-framework/helm-operator:v1.40.0
34

45
ARG VERSION=${VERSION}
56
ARG RELEASE_NUMBER=${RELEASE_NUMBER}
67
ARG HELM_VERSION=3.18.3
78

89
LABEL name="Sumologic Kubernetes Collection Helm Operator"
9-
LABEL maintainer="[email protected]"
10+
LABEL maintainer="opensource-collection-team@sumologic.com"
1011
LABEL vendor="sumologic"
1112
LABEL version=${VERSION}
1213
LABEL release=${RELEASE_NUMBER}
@@ -22,7 +23,7 @@ RUN wget "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz" && \
2223
mv linux-amd64/helm /usr/local/bin/helm
2324

2425
ENV HOME=/opt/helm
25-
COPY licenses /licenses
26+
ADD https://raw.githubusercontent.com/SumoLogic/sumologic-kubernetes-collection-helm-operator/refs/heads/main/licenses/LICENSE licenses/LICENSE
2627
COPY watches.yaml ${HOME}/watches.yaml
2728
COPY helm-charts/sumologic-kubernetes-collection/deploy/helm/sumologic ${HOME}/helm-charts/sumologic
2829

@@ -34,4 +35,4 @@ RUN helm dependency update && cd charts && for subchart in *.tgz; do tar -xf "${
3435
RUN sed -i "s#{{ .Values.image.repository }}:{{ .Chart.AppVersion }}#{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}#g" charts/telegraf-operator/templates/deployment.yaml
3536

3637
WORKDIR ${HOME}
37-
USER ${USER_UID}
38+
USER ${USER_UID}

Dockerfile-ubi

Lines changed: 0 additions & 38 deletions
This file was deleted.

licenses/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,4 @@
198198
distributed under the License is distributed on an "AS IS" BASIS,
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201-
limitations under the License.
201+
limitations under the License.

0 commit comments

Comments
 (0)