Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #14 from xvxd4sh/hotfix/Dockerfile
Browse files Browse the repository at this point in the history
Hotfix/dockerfile
  • Loading branch information
xvxd4sh authored Aug 9, 2022
2 parents 5c6dffb + 4bfac48 commit bdbbd58
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,9 @@ ARG VERSION=unspecified

FROM ubuntu/apache2:latest

#ARG VERSION

# For a list of pre-defined annotation keys and value types see:
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
# Note: Additional labels are added by the build workflow.
#LABEL org.opencontainers.image.authors="[email protected]"
#LABEL org.opencontainers.image.vendor="Cybersecurity and Infrastructure Security Agency"

#ARG CISA_UID=421
#ENV CISA_HOME="/home/cisa"

# RUN addgroup --system --gid ${CISA_UID} cisa \
# && adduser --system --uid ${CISA_UID} --ingroup cisa cisa

RUN apt-get clean && apt-get update && apt-get install -y apt-utils
RUN apt-get install -y ssl-cert && \
# TODO: test if this works on composition repo
a2enmod rewrite proxy proxy_http headers cache && a2dismod -f deflate && \
a2enmod ssl && a2ensite default-ssl.conf

# ENTRYPOINT ["/bin/bash -c", "echo 'Apache up and running'"]

# WORKDIR ${CISA_HOME}
# USER cisa
RUN apt-get install -y ssl-cert
RUN a2enmod rewrite proxy proxy_http headers cache ssl
RUN a2dismod -f deflate
RUN a2ensite default-ssl.conf

0 comments on commit bdbbd58

Please sign in to comment.