Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
fix(entrypoint): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 3, 2021
1 parent 84d4fb3 commit b1e08c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM registry.access.redhat.com/ubi8/ubi

WORKDIR /work

RUN curl -fsSL https://goss.rocks/install | GOSS_VER=v0.3.13 sh

RUN cd /tmp ;\
Expand All @@ -15,4 +13,5 @@ COPY lookups /work/lookups
RUN pip3.8 install $(ls /tmp/*.whl); rm -f /tmp/*.whl

EXPOSE 2162/udp
WORKDIR /work
ENTRYPOINT [ "/work/entrypoint.sh" ]
4 changes: 1 addition & 3 deletions splunk_connect_for_snmp_traps/snmp_trap_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ def main():
default="info",
help="Provide logging level. Example --loglevel debug, default=warning",
)
parser.add_argument(
"-c", "--config", default="/work/config.yaml", help="Config File"
)
parser.add_argument("-c", "--config", default="config.yaml", help="Config File")
args = parser.parse_args()

log_level = args.loglevel.upper()
Expand Down

0 comments on commit b1e08c6

Please sign in to comment.