<commit_before>#
# Docker ambassador pattern linking docker image
#
# http://github.com/tenstartups/ambassador-docker
#

FROM gliderlabs/alpine:latest

MAINTAINER <NAME> <<EMAIL>>

# Install socat
RUN apk --update add socat

# Define command
CMD	env | grep _TCP= | sed 's/.*_PORT_\([0-9]*\)_TCP=tcp:\/\/\(.*\):\(.*\)/socat TCP4-LISTEN:\1,fork,reuseaddr TCP4:\2:\3 \&/' | sh && sleep 3153600000<commit_msg>Changed to a single tunnel per container model<commit_after>#
# Docker ambassador pattern linking docker image
#
# http://github.com/tenstartups/ambassador-docker
#

FROM gliderlabs/alpine:latest

MAINTAINER <NAME> <<EMAIL>>

# Install socat
RUN apk --update add socat

# Define command
CMD	socat TCP4-LISTEN:${TCP_LISTEN_PORT},fork,reuseaddr TCP4:${TCP_TARGET_HOST}:${TCP_TARGET_PORT}
{'fraction_non_alphanumeric': 0.1518987341772152, 'fraction_numerical': 0.024050632911392405, 'mean_word_length': 5.038167938931298, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '280388', 'n_tokens_mistral': 307, 'n_tokens_neox': 282, 'n_words': 65}